blib/lib/Paws/Backup/CopyJob.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Backup::CopyJob;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str');
5 has BackupSizeInBytes => (is => 'ro', isa => 'Int');
6 has CompletionDate => (is => 'ro', isa => 'Str');
7 has CopyJobId => (is => 'ro', isa => 'Str');
8 has CreatedBy => (is => 'ro', isa => 'Paws::Backup::RecoveryPointCreator');
9 has CreationDate => (is => 'ro', isa => 'Str');
10 has DestinationBackupVaultArn => (is => 'ro', isa => 'Str');
11 has DestinationRecoveryPointArn => (is => 'ro', isa => 'Str');
12 has IamRoleArn => (is => 'ro', isa => 'Str');
13 has ResourceArn => (is => 'ro', isa => 'Str');
14 has ResourceType => (is => 'ro', isa => 'Str');
15 has SourceBackupVaultArn => (is => 'ro', isa => 'Str');
16 has SourceRecoveryPointArn => (is => 'ro', isa => 'Str');
17 has State => (is => 'ro', isa => 'Str');
18 has StatusMessage => (is => 'ro', isa => 'Str');
19  
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::Backup::CopyJob
27  
28 =head1 USAGE
29  
30 This class represents one of two things:
31  
32 =head3 Arguments in a call to a service
33  
34 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35 Each attribute should be used as a named argument in the calls that expect this type of object.
36  
37 As an example, if Att1 is expected to be a Paws::Backup::CopyJob object:
38  
39 $service_obj->Method(Att1 => { AccountId => $value, ..., StatusMessage => $value });
40  
41 =head3 Results returned from an API call
42  
43 Use accessors for each attribute. If Att1 is expected to be an Paws::Backup::CopyJob object:
44  
45 $result = $service_obj->Method(...);
46 $result->Att1->AccountId
47  
48 =head1 DESCRIPTION
49  
50 Contains detailed information about a copy job.
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 AccountId => Str
56  
57 The account ID that owns the copy job.
58  
59  
60 =head2 BackupSizeInBytes => Int
61  
62 The size, in bytes, of a copy job.
63  
64  
65 =head2 CompletionDate => Str
66  
67 The date and time a copy job is completed, in Unix format and
68 Coordinated Universal Time (UTC). The value of C<CompletionDate> is
69 accurate to milliseconds. For example, the value 1516925490.087
70 represents Friday, January 26, 2018 12:11:30.087 AM.
71  
72  
73 =head2 CopyJobId => Str
74  
75 Uniquely identifies a copy job.
76  
77  
78 =head2 CreatedBy => L<Paws::Backup::RecoveryPointCreator>
79  
80  
81  
82  
83 =head2 CreationDate => Str
84  
85 The date and time a copy job is created, in Unix format and Coordinated
86 Universal Time (UTC). The value of C<CreationDate> is accurate to
87 milliseconds. For example, the value 1516925490.087 represents Friday,
88 January 26, 2018 12:11:30.087 AM.
89  
90  
91 =head2 DestinationBackupVaultArn => Str
92  
93 An Amazon Resource Name (ARN) that uniquely identifies a destination
94 copy vault; for example,
95 C<arn:aws:backup:us-east-1:123456789012:vault:aBackupVault>.
96  
97  
98 =head2 DestinationRecoveryPointArn => Str
99  
100 An ARN that uniquely identifies a destination recovery point; for
101 example,
102 C<arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45>.
103  
104  
105 =head2 IamRoleArn => Str
106  
107 Specifies the IAM role ARN used to copy the target recovery point; for
108 example, C<arn:aws:iam::123456789012:role/S3Access>.
109  
110  
111 =head2 ResourceArn => Str
112  
113 The AWS resource to be copied; for example, an Amazon Elastic Block
114 Store (Amazon EBS) volume or an Amazon Relational Database Service
115 (Amazon RDS) database.
116  
117  
118 =head2 ResourceType => Str
119  
120 The type of AWS resource to be copied; for example, an Amazon Elastic
121 Block Store (Amazon EBS) volume or an Amazon Relational Database
122 Service (Amazon RDS) database.
123  
124  
125 =head2 SourceBackupVaultArn => Str
126  
127 An Amazon Resource Name (ARN) that uniquely identifies a source copy
128 vault; for example,
129 C<arn:aws:backup:us-east-1:123456789012:vault:aBackupVault>.
130  
131  
132 =head2 SourceRecoveryPointArn => Str
133  
134 An ARN that uniquely identifies a source recovery point; for example,
135 C<arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45>.
136  
137  
138 =head2 State => Str
139  
140 The current state of a copy job.
141  
142  
143 =head2 StatusMessage => Str
144  
145 A detailed message explaining the status of the job to copy a resource.
146  
147  
148  
149 =head1 SEE ALSO
150  
151 This class forms part of L<Paws>, describing an object used in L<Paws::Backup>
152  
153 =head1 BUGS and CONTRIBUTIONS
154  
155 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
156  
157 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
158  
159 =cut
160