File Coverage

blib/lib/Paws/Lightsail/Bundle.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::Lightsail::Bundle;
2 1     1   473 use Moose;
  1         4  
  1         6  
3             has BundleId => (is => 'ro', isa => 'Str', request_name => 'bundleId', traits => ['NameInRequest']);
4             has CpuCount => (is => 'ro', isa => 'Int', request_name => 'cpuCount', traits => ['NameInRequest']);
5             has DiskSizeInGb => (is => 'ro', isa => 'Int', request_name => 'diskSizeInGb', traits => ['NameInRequest']);
6             has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
7             has IsActive => (is => 'ro', isa => 'Bool', request_name => 'isActive', traits => ['NameInRequest']);
8             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
9             has Power => (is => 'ro', isa => 'Int', request_name => 'power', traits => ['NameInRequest']);
10             has Price => (is => 'ro', isa => 'Num', request_name => 'price', traits => ['NameInRequest']);
11             has RamSizeInGb => (is => 'ro', isa => 'Num', request_name => 'ramSizeInGb', traits => ['NameInRequest']);
12             has TransferPerMonthInGb => (is => 'ro', isa => 'Int', request_name => 'transferPerMonthInGb', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::Lightsail::Bundle
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::Lightsail::Bundle object:
31              
32             $service_obj->Method(Att1 => { BundleId => $value, ..., TransferPerMonthInGb => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Bundle object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->BundleId
40              
41             =head1 DESCRIPTION
42              
43             Describes a bundle, which is a set of specs describing your virtual
44             private server (or I<instance>).
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 BundleId => Str
50              
51             The bundle ID (e.g., C<micro_1_0>).
52              
53              
54             =head2 CpuCount => Int
55              
56             The number of vCPUs included in the bundle (e.g., C<2>).
57              
58              
59             =head2 DiskSizeInGb => Int
60              
61             The size of the SSD (e.g., C<30>).
62              
63              
64             =head2 InstanceType => Str
65              
66             The Amazon EC2 instance type (e.g., C<t2.micro>).
67              
68              
69             =head2 IsActive => Bool
70              
71             A Boolean value indicating whether the bundle is active.
72              
73              
74             =head2 Name => Str
75              
76             A friendly name for the bundle (e.g., C<Micro>).
77              
78              
79             =head2 Power => Int
80              
81             The power of the bundle (e.g., C<500>).
82              
83              
84             =head2 Price => Num
85              
86             The price in US dollars (e.g., C<5.0>).
87              
88              
89             =head2 RamSizeInGb => Num
90              
91             The amount of RAM in GB (e.g., C<2.0>).
92              
93              
94             =head2 TransferPerMonthInGb => Int
95              
96             The data transfer rate per month in GB (e.g., C<2000>).
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111