blib/lib/Paws/Backup/CalculatedLifecycle.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Backup::CalculatedLifecycle;
3 use Moose;
4 has DeleteAt => (is => 'ro', isa => 'Str');
5 has MoveToColdStorageAt => (is => 'ro', isa => 'Str');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Backup::CalculatedLifecycle
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Backup::CalculatedLifecycle object:
25  
26 $service_obj->Method(Att1 => { DeleteAt => $value, ..., MoveToColdStorageAt => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Backup::CalculatedLifecycle object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DeleteAt
34  
35 =head1 DESCRIPTION
36  
37 Contains C<DeleteAt> and C<MoveToColdStorageAt> timestamps, which are
38 used to specify a lifecycle for a recovery point.
39  
40 The lifecycle defines when a protected resource is transitioned to cold
41 storage and when it expires. AWS Backup transitions and expires backups
42 automatically according to the lifecycle that you define.
43  
44 Backups transitioned to cold storage must be stored in cold storage for
45 a minimum of 90 days. Therefore, the E<ldquo>expire after daysE<rdquo>
46 setting must be 90 days greater than the E<ldquo>transition to cold
47 after daysE<rdquo> setting. The E<ldquo>transition to cold after
48 daysE<rdquo> setting cannot be changed after a backup has been
49 transitioned to cold.
50  
51 Only Amazon EFS file system backups can be transitioned to cold
52 storage.
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 DeleteAt => Str
58  
59 A timestamp that specifies when to delete a recovery point.
60  
61  
62 =head2 MoveToColdStorageAt => Str
63  
64 A timestamp that specifies when to transition a recovery point to cold
65 storage.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::Backup>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80