File Coverage

blib/lib/Paws/GameLift/Build.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::GameLift::Build;
2 1     1   579 use Moose;
  1         3  
  1         7  
3             has BuildId => (is => 'ro', isa => 'Str');
4             has CreationTime => (is => 'ro', isa => 'Str');
5             has Name => (is => 'ro', isa => 'Str');
6             has OperatingSystem => (is => 'ro', isa => 'Str');
7             has SizeOnDisk => (is => 'ro', isa => 'Int');
8             has Status => (is => 'ro', isa => 'Str');
9             has Version => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::GameLift::Build
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::GameLift::Build object:
28              
29             $service_obj->Method(Att1 => { BuildId => $value, ..., Version => $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::GameLift::Build object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->BuildId
37              
38             =head1 DESCRIPTION
39              
40             Properties describing a game build.
41              
42             Build-related operations include:
43              
44             =over
45              
46             =item *
47              
48             CreateBuild
49              
50             =item *
51              
52             ListBuilds
53              
54             =item *
55              
56             DescribeBuild
57              
58             =item *
59              
60             UpdateBuild
61              
62             =item *
63              
64             DeleteBuild
65              
66             =back
67              
68              
69             =head1 ATTRIBUTES
70              
71              
72             =head2 BuildId => Str
73              
74             Unique identifier for a build.
75              
76              
77             =head2 CreationTime => Str
78              
79             Time stamp indicating when this data object was created. Format is a
80             number expressed in Unix time as milliseconds (for example
81             "1469498468.057").
82              
83              
84             =head2 Name => Str
85              
86             Descriptive label that is associated with a build. Build names do not
87             need to be unique. It can be set using CreateBuild or UpdateBuild.
88              
89              
90             =head2 OperatingSystem => Str
91              
92             Operating system that the game server binaries are built to run on.
93             This value determines the type of fleet resources that you can use for
94             this build.
95              
96              
97             =head2 SizeOnDisk => Int
98              
99             File size of the uploaded game build, expressed in bytes. When the
100             build status is C<INITIALIZED>, this value is 0.
101              
102              
103             =head2 Status => Str
104              
105             Current status of the build.
106              
107             Possible build statuses include the following:
108              
109             =over
110              
111             =item *
112              
113             B<INITIALIZED> E<ndash> A new build has been defined, but no files have
114             been uploaded. You cannot create fleets for builds that are in this
115             status. When a build is successfully created, the build status is set
116             to this value.
117              
118             =item *
119              
120             B<READY> E<ndash> The game build has been successfully uploaded. You
121             can now create new fleets for this build.
122              
123             =item *
124              
125             B<FAILED> E<ndash> The game build upload failed. You cannot create new
126             fleets for this build.
127              
128             =back
129              
130              
131              
132             =head2 Version => Str
133              
134             Version that is associated with this build. Version strings do not need
135             to be unique. This value can be set using CreateBuild or UpdateBuild.
136              
137              
138              
139             =head1 SEE ALSO
140              
141             This class forms part of L<Paws>, describing an object used in L<Paws::GameLift>
142              
143             =head1 BUGS and CONTRIBUTIONS
144              
145             The source code is located here: https://github.com/pplu/aws-sdk-perl
146              
147             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
148              
149             =cut
150