File Coverage

blib/lib/Paws/EC2/ImageDiskContainer.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::ImageDiskContainer;
2 1     1   280 use Moose;
  1         3  
  1         5  
3             has Description => (is => 'ro', isa => 'Str');
4             has DeviceName => (is => 'ro', isa => 'Str');
5             has Format => (is => 'ro', isa => 'Str');
6             has SnapshotId => (is => 'ro', isa => 'Str');
7             has Url => (is => 'ro', isa => 'Str');
8             has UserBucket => (is => 'ro', isa => 'Paws::EC2::UserBucket');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::ImageDiskContainer
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::ImageDiskContainer object:
27              
28             $service_obj->Method(Att1 => { Description => $value, ..., UserBucket => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ImageDiskContainer object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Description
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Description => Str
45              
46             The description of the disk image.
47              
48              
49             =head2 DeviceName => Str
50              
51             The block device mapping for the disk.
52              
53              
54             =head2 Format => Str
55              
56             The format of the disk image being imported.
57              
58             Valid values: C<RAW> | C<VHD> | C<VMDK> | C<OVA>
59              
60              
61             =head2 SnapshotId => Str
62              
63             The ID of the EBS snapshot to be used for importing the snapshot.
64              
65              
66             =head2 Url => Str
67              
68             The URL to the Amazon S3-based disk image being imported. The URL can
69             either be a https URL (https://..) or an Amazon S3 URL (s3://..)
70              
71              
72             =head2 UserBucket => L<Paws::EC2::UserBucket>
73              
74             The S3 bucket for the disk image.
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut