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

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 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::RestoreRequest;
3 use Moose;
4 has Days => (is => 'ro', isa => 'Int');
5 has Description => (is => 'ro', isa => 'Str');
6 has GlacierJobParameters => (is => 'ro', isa => 'Paws::S3::GlacierJobParameters');
7 has OutputLocation => (is => 'ro', isa => 'Paws::S3::OutputLocation');
8 has SelectParameters => (is => 'ro', isa => 'Paws::S3::SelectParameters');
9 has Tier => (is => 'ro', isa => 'Str');
10 has Type => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::S3::RestoreRequest
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::S3::RestoreRequest object:
30  
31 $service_obj->Method(Att1 => { Days => $value, ..., Type => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::RestoreRequest object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Days
39  
40 =head1 DESCRIPTION
41  
42 Container for restore job parameters.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Days => Int
48  
49 Lifetime of the active copy in days. Do not use with restores that
50 specify C<OutputLocation>.
51  
52 The Days element is required for regular restores, and must not be
53 provided for select requests.
54  
55  
56 =head2 Description => Str
57  
58 The optional description for the job.
59  
60  
61 =head2 GlacierJobParameters => L<Paws::S3::GlacierJobParameters>
62  
63 S3 Glacier related parameters pertaining to this job. Do not use with
64 restores that specify C<OutputLocation>.
65  
66  
67 =head2 OutputLocation => L<Paws::S3::OutputLocation>
68  
69 Describes the location where the restore job's output is stored.
70  
71  
72 =head2 SelectParameters => L<Paws::S3::SelectParameters>
73  
74 Describes the parameters for Select job types.
75  
76  
77 =head2 Tier => Str
78  
79 Retrieval tier at which the restore will be processed.
80  
81  
82 =head2 Type => Str
83  
84 Type of restore request.
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99