File Coverage

blib/lib/Paws/ElasticTranscoder/InputCaptions.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElasticTranscoder::InputCaptions;
2 1     1   429 use Moose;
  1         3  
  1         6  
3             has CaptionSources => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::CaptionSource]');
4             has MergePolicy => (is => 'ro', isa => 'Str');
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::ElasticTranscoder::InputCaptions
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::ElasticTranscoder::InputCaptions object:
23              
24             $service_obj->Method(Att1 => { CaptionSources => $value, ..., MergePolicy => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::InputCaptions object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->CaptionSources
32              
33             =head1 DESCRIPTION
34              
35             The captions to be created, if any.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 CaptionSources => ArrayRef[L<Paws::ElasticTranscoder::CaptionSource>]
41              
42             Source files for the input sidecar captions used during the transcoding
43             process. To omit all sidecar captions, leave C<CaptionSources> blank.
44              
45              
46             =head2 MergePolicy => Str
47              
48             A policy that determines how Elastic Transcoder handles the existence
49             of multiple captions.
50              
51             =over
52              
53             =item *
54              
55             B<MergeOverride:> Elastic Transcoder transcodes both embedded and
56             sidecar captions into outputs. If captions for a language are embedded
57             in the input file and also appear in a sidecar file, Elastic Transcoder
58             uses the sidecar captions and ignores the embedded captions for that
59             language.
60              
61             =item *
62              
63             B<MergeRetain:> Elastic Transcoder transcodes both embedded and sidecar
64             captions into outputs. If captions for a language are embedded in the
65             input file and also appear in a sidecar file, Elastic Transcoder uses
66             the embedded captions and ignores the sidecar captions for that
67             language. If C<CaptionSources> is empty, Elastic Transcoder omits all
68             sidecar captions from the output files.
69              
70             =item *
71              
72             B<Override:> Elastic Transcoder transcodes only the sidecar captions
73             that you specify in C<CaptionSources>.
74              
75             =back
76              
77             C<MergePolicy> cannot be null.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92