| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ElasticTranscoder::JobAlbumArt; | ||
| 3 | use Moose; | ||
| 4 | has Artwork => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::Artwork]'); | ||
| 5 | has MergePolicy => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ElasticTranscoder::JobAlbumArt | ||
| 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::JobAlbumArt object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Artwork => $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::JobAlbumArt object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Artwork | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The .jpg or .png file associated with an audio file. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 Artwork => ArrayRef[L<Paws::ElasticTranscoder::Artwork>] | ||
| 43 | |||
| 44 | The file to be used as album art. There can be multiple artworks | ||
| 45 | associated with an audio file, to a maximum of 20. Valid formats are | ||
| 46 | C<.jpg> and C<.png> | ||
| 47 | |||
| 48 | |||
| 49 | =head2 MergePolicy => Str | ||
| 50 | |||
| 51 | A policy that determines how Elastic Transcoder handles the existence | ||
| 52 | of multiple album artwork files. | ||
| 53 | |||
| 54 | =over | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | C<Replace:> The specified album art replaces any existing album art. | ||
| 59 | |||
| 60 | =item * | ||
| 61 | |||
| 62 | C<Prepend:> The specified album art is placed in front of any existing | ||
| 63 | album art. | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | C<Append:> The specified album art is placed after any existing album | ||
| 68 | art. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | C<Fallback:> If the original input file contains artwork, Elastic | ||
| 73 | Transcoder uses that artwork for the output. If the original input does | ||
| 74 | not contain artwork, Elastic Transcoder uses the specified album art | ||
| 75 | file. | ||
| 76 | |||
| 77 | =back | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |