File Coverage

blib/lib/Paws/EC2/ImportInstanceVolumeDetailItem.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::ImportInstanceVolumeDetailItem;
2 1     1   311 use Moose;
  1     1   3  
  1         5  
  1         369  
  1         4  
  1         6  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest'], required => 1);
4             has BytesConverted => (is => 'ro', isa => 'Int', request_name => 'bytesConverted', traits => ['NameInRequest'], required => 1);
5             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6             has Image => (is => 'ro', isa => 'Paws::EC2::DiskImageDescription', request_name => 'image', traits => ['NameInRequest'], required => 1);
7             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest'], required => 1);
8             has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
9             has Volume => (is => 'ro', isa => 'Paws::EC2::DiskImageVolumeDescription', request_name => 'volume', traits => ['NameInRequest'], required => 1);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::EC2::ImportInstanceVolumeDetailItem
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::EC2::ImportInstanceVolumeDetailItem object:
28              
29             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., Volume => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ImportInstanceVolumeDetailItem object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AvailabilityZone
37              
38             =head1 DESCRIPTION
39              
40             This class has no description
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> AvailabilityZone => Str
46              
47             The Availability Zone where the resulting instance will reside.
48              
49              
50             =head2 B<REQUIRED> BytesConverted => Int
51              
52             The number of bytes converted so far.
53              
54              
55             =head2 Description => Str
56              
57             A description of the task.
58              
59              
60             =head2 B<REQUIRED> Image => L<Paws::EC2::DiskImageDescription>
61              
62             The image.
63              
64              
65             =head2 B<REQUIRED> Status => Str
66              
67             The status of the import of this particular disk image.
68              
69              
70             =head2 StatusMessage => Str
71              
72             The status information or errors related to the disk image.
73              
74              
75             =head2 B<REQUIRED> Volume => L<Paws::EC2::DiskImageVolumeDescription>
76              
77             The volume.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut