File Coverage

blib/lib/Paws/EC2/ConversionTask.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::ConversionTask;
2 1     1   701 use Moose;
  1     1   5  
  1         10  
  1         661  
  1         3  
  1         8  
3             has ConversionTaskId => (is => 'ro', isa => 'Str', request_name => 'conversionTaskId', traits => ['NameInRequest'], required => 1);
4             has ExpirationTime => (is => 'ro', isa => 'Str', request_name => 'expirationTime', traits => ['NameInRequest']);
5             has ImportInstance => (is => 'ro', isa => 'Paws::EC2::ImportInstanceTaskDetails', request_name => 'importInstance', traits => ['NameInRequest']);
6             has ImportVolume => (is => 'ro', isa => 'Paws::EC2::ImportVolumeTaskDetails', request_name => 'importVolume', traits => ['NameInRequest']);
7             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest'], required => 1);
8             has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
9             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::EC2::ConversionTask
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::ConversionTask object:
28              
29             $service_obj->Method(Att1 => { ConversionTaskId => $value, ..., Tags => $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::ConversionTask object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->ConversionTaskId
37              
38             =head1 DESCRIPTION
39              
40             This class has no description
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> ConversionTaskId => Str
46              
47             The ID of the conversion task.
48              
49              
50             =head2 ExpirationTime => Str
51              
52             The time when the task expires. If the upload isn't complete before the
53             expiration time, we automatically cancel the task.
54              
55              
56             =head2 ImportInstance => L<Paws::EC2::ImportInstanceTaskDetails>
57              
58             If the task is for importing an instance, this contains information
59             about the import instance task.
60              
61              
62             =head2 ImportVolume => L<Paws::EC2::ImportVolumeTaskDetails>
63              
64             If the task is for importing a volume, this contains information about
65             the import volume task.
66              
67              
68             =head2 B<REQUIRED> State => Str
69              
70             The state of the conversion task.
71              
72              
73             =head2 StatusMessage => Str
74              
75             The status message related to the conversion task.
76              
77              
78             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
79              
80             Any tags assigned to the task.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut