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

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 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::ObjectLockRule;
3 use Moose;
4 has DefaultRetention => (is => 'ro', isa => 'Paws::S3::DefaultRetention');
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::S3::ObjectLockRule
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::S3::ObjectLockRule object:
24  
25 $service_obj->Method(Att1 => { DefaultRetention => $value, ..., DefaultRetention => $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::S3::ObjectLockRule object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->DefaultRetention
33  
34 =head1 DESCRIPTION
35  
36 The container element for an Object Lock rule.
37  
38 =head1 ATTRIBUTES
39  
40  
41 =head2 DefaultRetention => L<Paws::S3::DefaultRetention>
42  
43 The default Object Lock retention mode and period that you want to
44 apply to new objects placed in the specified bucket. Bucket settings
45 require both a mode and a period. The period can be either C<Days> or
46 C<Years> but you must select one. You cannot specify C<Days> and
47 C<Years> at the same time.
48  
49  
50  
51 =head1 SEE ALSO
52  
53 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
54  
55 =head1 BUGS and CONTRIBUTIONS
56  
57 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
58  
59 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
60  
61 =cut
62