« blib/lib/Paws/EC2/ScheduledInstanceRecurrence.pm
↑ Summary
blib/lib/Paws/EC2/ScheduledInstancesBlockDeviceMapping.pm »
| 1 | package Paws::EC2::ScheduledInstanceRecurrenceRequest; | ||
| 2 | use Moose; | ||
| 3 | has Frequency => (is => 'ro', isa => 'Str'); | ||
| 4 | has Interval => (is => 'ro', isa => 'Int'); | ||
| 5 | has OccurrenceDays => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'OccurrenceDay', traits => ['NameInRequest']); | ||
| 6 | has OccurrenceRelativeToEnd => (is => 'ro', isa => 'Bool'); | ||
| 7 | has OccurrenceUnit => (is => 'ro', isa => 'Str'); | ||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::EC2::ScheduledInstanceRecurrenceRequest | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::EC2::ScheduledInstanceRecurrenceRequest object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Frequency => $value, ..., OccurrenceUnit => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ScheduledInstanceRecurrenceRequest object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Frequency | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | This class has no description | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Frequency => Str | ||
| 44 | |||
| 45 | The frequency (C<Daily>, C<Weekly>, or C<Monthly>). | ||
| 46 | |||
| 47 | |||
| 48 | =head2 Interval => Int | ||
| 49 | |||
| 50 | The interval quantity. The interval unit depends on the value of | ||
| 51 | C<Frequency>. For example, every 2 weeks or every 2 months. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 OccurrenceDays => ArrayRef[Int] | ||
| 55 | |||
| 56 | The days. For a monthly schedule, this is one or more days of the month | ||
| 57 | (1-31). For a weekly schedule, this is one or more days of the week | ||
| 58 | (1-7, where 1 is Sunday). You can't specify this value with a daily | ||
| 59 | schedule. If the occurrence is relative to the end of the month, you | ||
| 60 | can specify only a single day. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 OccurrenceRelativeToEnd => Bool | ||
| 64 | |||
| 65 | Indicates whether the occurrence is relative to the end of the | ||
| 66 | specified week or month. You can't specify this value with a daily | ||
| 67 | schedule. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 OccurrenceUnit => Str | ||
| 71 | |||
| 72 | The unit for C<OccurrenceDays> (C<DayOfWeek> or C<DayOfMonth>). This | ||
| 73 | value is required for a monthly schedule. You can't specify | ||
| 74 | C<DayOfWeek> with a weekly schedule. You can't specify this value with | ||
| 75 | a daily schedule. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut |