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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::CrossRegionCopyRule;
3 use Moose;
4 has CmkArn => (is => 'ro', isa => 'Str');
5 has CopyTags => (is => 'ro', isa => 'Bool');
6 has Encrypted => (is => 'ro', isa => 'Bool', required => 1);
7 has RetainRule => (is => 'ro', isa => 'Paws::DLM::CrossRegionCopyRetainRule');
8 has Target => (is => 'ro', isa => 'Str');
9 has TargetRegion => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::DLM::CrossRegionCopyRule
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::DLM::CrossRegionCopyRule object:
29  
30 $service_obj->Method(Att1 => { CmkArn => $value, ..., TargetRegion => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::DLM::CrossRegionCopyRule object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->CmkArn
38  
39 =head1 DESCRIPTION
40  
41 Specifies a rule for cross-Region snapshot copies.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 CmkArn => Str
47  
48 The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK)
49 to use for EBS encryption. If this parameter is not specified, your AWS
50 managed CMK for EBS is used.
51  
52  
53 =head2 CopyTags => Bool
54  
55 Copy all user-defined tags from the source snapshot to the copied
56 snapshot.
57  
58  
59 =head2 B<REQUIRED> Encrypted => Bool
60  
61 To encrypt a copy of an unencrypted snapshot if encryption by default
62 is not enabled, enable encryption using this parameter. Copies of
63 encrypted snapshots are encrypted, even if this parameter is false or
64 if encryption by default is not enabled.
65  
66  
67 =head2 RetainRule => L<Paws::DLM::CrossRegionCopyRetainRule>
68  
69 The retention rule.
70  
71  
72 =head2 Target => Str
73  
74 The Amazon Resource Name (ARN) of the target AWS Outpost for the
75 snapshot copies.
76  
77 If you specify an ARN, you must omit B<TargetRegion>. You cannot
78 specify a target Region and a target Outpost in the same rule.
79  
80  
81 =head2 TargetRegion => Str
82  
83 The target Region for the snapshot copies.
84  
85 If you specify a target Region, you must omit B<Target>. You cannot
86 specify a target Region and a target Outpost in the same rule.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::DLM>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101