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