blib/lib/Paws/S3Control/S3SetObjectLegalHoldOperation.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::S3Control::S3SetObjectLegalHoldOperation;
3 use Moose;
4 has LegalHold => (is => 'ro', isa => 'Paws::S3Control::S3ObjectLockLegalHold', required => 1);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::S3Control::S3SetObjectLegalHoldOperation
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::S3Control::S3SetObjectLegalHoldOperation object:
24  
25 $service_obj->Method(Att1 => { LegalHold => $value, ..., LegalHold => $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::S3Control::S3SetObjectLegalHoldOperation object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->LegalHold
33  
34 =head1 DESCRIPTION
35  
36 Contains the configuration for an S3 Object Lock legal hold operation
37 that an S3 Batch Operations job passes every object to the underlying
38 C<PutObjectLegalHold> API. For more information, see Using S3 Object
39 Lock legal hold with S3 Batch Operations
40 (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-legal-hold.html)
41 in the I<Amazon S3 User Guide>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> LegalHold => L<Paws::S3Control::S3ObjectLockLegalHold>
47  
48 Contains the Object Lock legal hold status to be applied to all objects
49 in the Batch Operations job.
50  
51  
52  
53 =head1 SEE ALSO
54  
55 This class forms part of L<Paws>, describing an object used in L<Paws::S3Control>
56  
57 =head1 BUGS and CONTRIBUTIONS
58  
59 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
60  
61 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
62  
63 =cut
64