File Coverage

blib/lib/Paws/ElasticTranscoder/JobWatermark.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::JobWatermark;
2 1     1   429 use Moose;
  1         4  
  1         10  
3             has Encryption => (is => 'ro', isa => 'Paws::ElasticTranscoder::Encryption');
4             has InputKey => (is => 'ro', isa => 'Str');
5             has PresetWatermarkId => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::ElasticTranscoder::JobWatermark
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::ElasticTranscoder::JobWatermark object:
24              
25             $service_obj->Method(Att1 => { Encryption => $value, ..., PresetWatermarkId => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::JobWatermark object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Encryption
33              
34             =head1 DESCRIPTION
35              
36             Watermarks can be in .png or .jpg format. If you want to display a
37             watermark that is not rectangular, use the .png format, which supports
38             transparency.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 Encryption => L<Paws::ElasticTranscoder::Encryption>
44              
45             The encryption settings, if any, that you want Elastic Transcoder to
46             apply to your watermarks.
47              
48              
49             =head2 InputKey => Str
50              
51             The name of the .png or .jpg file that you want to use for the
52             watermark. To determine which Amazon S3 bucket contains the specified
53             file, Elastic Transcoder checks the pipeline specified by C<Pipeline>;
54             the C<Input Bucket> object in that pipeline identifies the bucket.
55              
56             If the file name includes a prefix, for example, B<logos/128x64.png>,
57             include the prefix in the key. If the file isn't in the specified
58             bucket, Elastic Transcoder returns an error.
59              
60              
61             =head2 PresetWatermarkId => Str
62              
63             The ID of the watermark settings that Elastic Transcoder uses to add
64             watermarks to the video during transcoding. The settings are in the
65             preset specified by Preset for the current output. In that preset, the
66             value of Watermarks Id tells Elastic Transcoder which settings to use.
67              
68              
69              
70             =head1 SEE ALSO
71              
72             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
73              
74             =head1 BUGS and CONTRIBUTIONS
75              
76             The source code is located here: https://github.com/pplu/aws-sdk-perl
77              
78             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
79              
80             =cut
81