blib/lib/Paws/Lightsail/AutoSnapshotAddOnRequest.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::Lightsail::AutoSnapshotAddOnRequest;
3 use Moose;
4 has SnapshotTimeOfDay => (is => 'ro', isa => 'Str', request_name => 'snapshotTimeOfDay', traits => ['NameInRequest']);
5  
6 1;
7  
8 ### main pod documentation begin ###
9  
10 =head1 NAME
11  
12 Paws::Lightsail::AutoSnapshotAddOnRequest
13  
14 =head1 USAGE
15  
16 This class represents one of two things:
17  
18 =head3 Arguments in a call to a service
19  
20 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21 Each attribute should be used as a named argument in the calls that expect this type of object.
22  
23 As an example, if Att1 is expected to be a Paws::Lightsail::AutoSnapshotAddOnRequest object:
24  
25 $service_obj->Method(Att1 => { SnapshotTimeOfDay => $value, ..., SnapshotTimeOfDay => $value });
26  
27 =head3 Results returned from an API call
28  
29 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::AutoSnapshotAddOnRequest object:
30  
31 $result = $service_obj->Method(...);
32 $result->Att1->SnapshotTimeOfDay
33  
34 =head1 DESCRIPTION
35  
36 Describes a request to enable or modify the automatic snapshot add-on
37 for an Amazon Lightsail instance or disk.
38  
39 When you modify the automatic snapshot time for a resource, it is
40 typically effective immediately except under the following conditions:
41  
42 =over
43  
44 =item *
45  
46 If an automatic snapshot has been created for the current day, and you
47 change the snapshot time to a later time of day, then the new snapshot
48 time will be effective the following day. This ensures that two
49 snapshots are not created for the current day.
50  
51 =item *
52  
53 If an automatic snapshot has not yet been created for the current day,
54 and you change the snapshot time to an earlier time of day, then the
55 new snapshot time will be effective the following day and a snapshot is
56 automatically created at the previously set time for the current day.
57 This ensures that a snapshot is created for the current day.
58  
59 =item *
60  
61 If an automatic snapshot has not yet been created for the current day,
62 and you change the snapshot time to a time that is within 30 minutes
63 from your current time, then the new snapshot time will be effective
64 the following day and a snapshot is automatically created at the
65 previously set time for the current day. This ensures that a snapshot
66 is created for the current day, because 30 minutes is required between
67 your current time and the new snapshot time that you specify.
68  
69 =item *
70  
71 If an automatic snapshot is scheduled to be created within 30 minutes
72 from your current time and you change the snapshot time, then the new
73 snapshot time will be effective the following day and a snapshot is
74 automatically created at the previously set time for the current day.
75 This ensures that a snapshot is created for the current day, because 30
76 minutes is required between your current time and the new snapshot time
77 that you specify.
78  
79 =back
80  
81  
82 =head1 ATTRIBUTES
83  
84  
85 =head2 SnapshotTimeOfDay => Str
86  
87 The daily time when an automatic snapshot will be created.
88  
89 Constraints:
90  
91 =over
92  
93 =item *
94  
95 Must be in C<HH:00> format, and in an hourly increment.
96  
97 =item *
98  
99 Specified in Coordinated Universal Time (UTC).
100  
101 =item *
102  
103 The snapshot will be automatically created between the time specified
104 and up to 45 minutes after.
105  
106 =back
107  
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122