| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Backup::Lifecycle; | ||
| 3 | use Moose; | ||
| 4 | has DeleteAfterDays => (is => 'ro', isa => 'Int'); | ||
| 5 | has MoveToColdStorageAfterDays => (is => 'ro', isa => 'Int'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Backup::Lifecycle | ||
| 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::Lifecycle object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { DeleteAfterDays => $value, ..., MoveToColdStorageAfterDays => $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::Lifecycle object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->DeleteAfterDays | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Contains an array of C<Transition> objects specifying how long in days | ||
| 38 | before a recovery point transitions to cold storage or is deleted. | ||
| 39 | |||
| 40 | Backups transitioned to cold storage must be stored in cold storage for | ||
| 41 | a minimum of 90 days. Therefore, on the console, the E<ldquo>expire | ||
| 42 | after daysE<rdquo> setting must be 90 days greater than the | ||
| 43 | E<ldquo>transition to cold after daysE<rdquo> setting. The | ||
| 44 | E<ldquo>transition to cold after daysE<rdquo> setting cannot be changed | ||
| 45 | after a backup has been transitioned to cold. | ||
| 46 | |||
| 47 | Only Amazon EFS file system backups can be transitioned to cold | ||
| 48 | storage. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 DeleteAfterDays => Int | ||
| 54 | |||
| 55 | Specifies the number of days after creation that a recovery point is | ||
| 56 | deleted. Must be greater than 90 days plus | ||
| 57 | C<MoveToColdStorageAfterDays>. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 MoveToColdStorageAfterDays => Int | ||
| 61 | |||
| 62 | Specifies the number of days after creation that a recovery point is | ||
| 63 | moved to cold storage. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::Backup> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |