| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DLM::FastRestoreRule; | ||
| 3 | use Moose; | ||
| 4 | has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has Count => (is => 'ro', isa => 'Int'); | ||
| 6 | has Interval => (is => 'ro', isa => 'Int'); | ||
| 7 | has IntervalUnit => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::DLM::FastRestoreRule | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::DLM::FastRestoreRule object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { AvailabilityZones => $value, ..., IntervalUnit => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::DLM::FastRestoreRule object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->AvailabilityZones | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Specifies a rule for enabling fast snapshot restore. You can enable | ||
| 40 | fast snapshot restore based on either a count or a time interval. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> AvailabilityZones => ArrayRef[Str|Undef] | ||
| 46 | |||
| 47 | The Availability Zones in which to enable fast snapshot restore. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Count => Int | ||
| 51 | |||
| 52 | The number of snapshots to be enabled with fast snapshot restore. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Interval => Int | ||
| 56 | |||
| 57 | The amount of time to enable fast snapshot restore. The maximum is 100 | ||
| 58 | years. This is equivalent to 1200 months, 5200 weeks, or 36500 days. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 IntervalUnit => Str | ||
| 62 | |||
| 63 | The unit of time for enabling fast snapshot restore. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::DLM> | ||
| 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 |