blib/lib/Paws/S3/S3Location.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::S3::S3Location;
3 use Moose;
4 has AccessControlList => (is => 'ro', isa => 'ArrayRef[Paws::S3::Grant]', request_name => 'Grant', traits => ['NameInRequest']);
5 has BucketName => (is => 'ro', isa => 'Str', required => 1);
6 has CannedACL => (is => 'ro', isa => 'Str');
7 has Encryption => (is => 'ro', isa => 'Paws::S3::Encryption');
8 has Prefix => (is => 'ro', isa => 'Str', required => 1);
9 has StorageClass => (is => 'ro', isa => 'Str');
10 has Tagging => (is => 'ro', isa => 'Paws::S3::Tagging');
11 has UserMetadata => (is => 'ro', isa => 'ArrayRef[Paws::S3::MetadataEntry]', request_name => 'MetadataEntry', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::S3::S3Location
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::S3::S3Location object:
31  
32 $service_obj->Method(Att1 => { AccessControlList => $value, ..., UserMetadata => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::S3Location object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AccessControlList
40  
41 =head1 DESCRIPTION
42  
43 Describes an Amazon S3 location that will receive the results of the
44 restore request.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AccessControlList => ArrayRef[L<Paws::S3::Grant>]
50  
51 A list of grants that control access to the staged results.
52  
53  
54 =head2 B<REQUIRED> BucketName => Str
55  
56 The name of the bucket where the restore results will be placed.
57  
58  
59 =head2 CannedACL => Str
60  
61 The canned ACL to apply to the restore results.
62  
63  
64 =head2 Encryption => L<Paws::S3::Encryption>
65  
66  
67  
68  
69 =head2 B<REQUIRED> Prefix => Str
70  
71 The prefix that is prepended to the restore results for this request.
72  
73  
74 =head2 StorageClass => Str
75  
76 The class of storage used to store the restore results.
77  
78  
79 =head2 Tagging => L<Paws::S3::Tagging>
80  
81 The tag-set that is applied to the restore results.
82  
83  
84 =head2 UserMetadata => ArrayRef[L<Paws::S3::MetadataEntry>]
85  
86 A list of metadata to store with the restore results in S3.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101