File Coverage

blib/lib/Paws/Lightsail/Blueprint.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::Blueprint;
2 1     1   497 use Moose;
  1         4  
  1         6  
3             has BlueprintId => (is => 'ro', isa => 'Str', request_name => 'blueprintId', traits => ['NameInRequest']);
4             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
5             has Group => (is => 'ro', isa => 'Str', request_name => 'group', traits => ['NameInRequest']);
6             has IsActive => (is => 'ro', isa => 'Bool', request_name => 'isActive', traits => ['NameInRequest']);
7             has LicenseUrl => (is => 'ro', isa => 'Str', request_name => 'licenseUrl', traits => ['NameInRequest']);
8             has MinPower => (is => 'ro', isa => 'Int', request_name => 'minPower', traits => ['NameInRequest']);
9             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
10             has ProductUrl => (is => 'ro', isa => 'Str', request_name => 'productUrl', traits => ['NameInRequest']);
11             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
12             has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
13             has VersionCode => (is => 'ro', isa => 'Str', request_name => 'versionCode', traits => ['NameInRequest']);
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Lightsail::Blueprint
21              
22             =head1 USAGE
23              
24             This class represents one of two things:
25              
26             =head3 Arguments in a call to a service
27              
28             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29             Each attribute should be used as a named argument in the calls that expect this type of object.
30              
31             As an example, if Att1 is expected to be a Paws::Lightsail::Blueprint object:
32              
33             $service_obj->Method(Att1 => { BlueprintId => $value, ..., VersionCode => $value });
34              
35             =head3 Results returned from an API call
36              
37             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Blueprint object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->BlueprintId
41              
42             =head1 DESCRIPTION
43              
44             Describes a blueprint (a virtual private server image).
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 BlueprintId => Str
50              
51             The ID for the virtual private server image (e.g., C<app_wordpress_4_4>
52             or C<app_lamp_7_0>).
53              
54              
55             =head2 Description => Str
56              
57             The description of the blueprint.
58              
59              
60             =head2 Group => Str
61              
62             The group name of the blueprint (e.g., C<amazon-linux>).
63              
64              
65             =head2 IsActive => Bool
66              
67             A Boolean value indicating whether the blueprint is active. When you
68             update your blueprints, you will inactivate old blueprints and keep the
69             most recent versions active.
70              
71              
72             =head2 LicenseUrl => Str
73              
74             The end-user license agreement URL for the image or blueprint.
75              
76              
77             =head2 MinPower => Int
78              
79             The minimum machine size required to run this blueprint. C<0> indicates
80             that the blueprint runs on all instances.
81              
82              
83             =head2 Name => Str
84              
85             The friendly name of the blueprint (e.g., C<Amazon Linux>).
86              
87              
88             =head2 ProductUrl => Str
89              
90             The product URL to learn more about the image or blueprint.
91              
92              
93             =head2 Type => Str
94              
95             The type of the blueprint (e.g., C<os> or C<app>).
96              
97              
98             =head2 Version => Str
99              
100             The version number of the operating system, application, or stack
101             (e.g., C<2016.03.0>).
102              
103              
104             =head2 VersionCode => Str
105              
106             The version code.
107              
108              
109              
110             =head1 SEE ALSO
111              
112             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
113              
114             =head1 BUGS and CONTRIBUTIONS
115              
116             The source code is located here: https://github.com/pplu/aws-sdk-perl
117              
118             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
119              
120             =cut
121