blib/lib/Paws/DLM/Schedule.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::DLM::Schedule;
3 use Moose;
4 has CopyTags => (is => 'ro', isa => 'Bool');
5 has CreateRule => (is => 'ro', isa => 'Paws::DLM::CreateRule');
6 has CrossRegionCopyRules => (is => 'ro', isa => 'ArrayRef[Paws::DLM::CrossRegionCopyRule]');
7 has FastRestoreRule => (is => 'ro', isa => 'Paws::DLM::FastRestoreRule');
8 has Name => (is => 'ro', isa => 'Str');
9 has RetainRule => (is => 'ro', isa => 'Paws::DLM::RetainRule');
10 has ShareRules => (is => 'ro', isa => 'ArrayRef[Paws::DLM::ShareRule]');
11 has TagsToAdd => (is => 'ro', isa => 'ArrayRef[Paws::DLM::Tag]');
12 has VariableTags => (is => 'ro', isa => 'ArrayRef[Paws::DLM::Tag]');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::DLM::Schedule
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::DLM::Schedule object:
32  
33 $service_obj->Method(Att1 => { CopyTags => $value, ..., VariableTags => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::DLM::Schedule object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->CopyTags
41  
42 =head1 DESCRIPTION
43  
44 Specifies a backup schedule for a snapshot or AMI lifecycle policy.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 CopyTags => Bool
50  
51 Copy all user-defined tags on a source volume to snapshots of the
52 volume created by this policy.
53  
54  
55 =head2 CreateRule => L<Paws::DLM::CreateRule>
56  
57 The creation rule.
58  
59  
60 =head2 CrossRegionCopyRules => ArrayRef[L<Paws::DLM::CrossRegionCopyRule>]
61  
62 The rule for cross-Region snapshot copies.
63  
64 You can only specify cross-Region copy rules for policies that create
65 snapshots in a Region. If the policy creates snapshots on an Outpost,
66 then you cannot copy the snapshots to a Region or to an Outpost. If the
67 policy creates snapshots in a Region, then snapshots can be copied to
68 up to three Regions or Outposts.
69  
70  
71 =head2 FastRestoreRule => L<Paws::DLM::FastRestoreRule>
72  
73 The rule for enabling fast snapshot restore.
74  
75  
76 =head2 Name => Str
77  
78 The name of the schedule.
79  
80  
81 =head2 RetainRule => L<Paws::DLM::RetainRule>
82  
83 The retention rule.
84  
85  
86 =head2 ShareRules => ArrayRef[L<Paws::DLM::ShareRule>]
87  
88 The rule for sharing snapshots with other AWS accounts.
89  
90  
91 =head2 TagsToAdd => ArrayRef[L<Paws::DLM::Tag>]
92  
93 The tags to apply to policy-created resources. These user-defined tags
94 are in addition to the AWS-added lifecycle tags.
95  
96  
97 =head2 VariableTags => ArrayRef[L<Paws::DLM::Tag>]
98  
99 A collection of key/value pairs with values determined dynamically when
100 the policy is executed. Keys may be any valid Amazon EC2 tag key.
101 Values must be in one of the two following formats: C<$(instance-id)>
102 or C<$(timestamp)>. Variable tags are only valid for EBS Snapshot
103 Management E<ndash> Instance policies.
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, describing an object used in L<Paws::DLM>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118