@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Build extends Object implements Serializable, Cloneable, StructuredPojo
Properties describing a custom game build.
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
Constructor and Description |
---|
Build() |
Modifier and Type | Method and Description |
---|---|
Build |
clone() |
boolean |
equals(Object obj) |
String |
getBuildArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it.
|
String |
getBuildId()
A unique identifier for the build.
|
Date |
getCreationTime()
A time stamp indicating when this data object was created.
|
String |
getName()
A descriptive label that is associated with a build.
|
String |
getOperatingSystem()
Operating system that the game server binaries are built to run on.
|
Long |
getSizeOnDisk()
File size of the uploaded game build, expressed in bytes.
|
String |
getStatus()
Current status of the build.
|
String |
getVersion()
Version information that is associated with a build or script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBuildArn(String buildArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it.
|
void |
setBuildId(String buildId)
A unique identifier for the build.
|
void |
setCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
void |
setName(String name)
A descriptive label that is associated with a build.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Operating system that the game server binaries are built to run on.
|
void |
setOperatingSystem(String operatingSystem)
Operating system that the game server binaries are built to run on.
|
void |
setSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes.
|
void |
setStatus(BuildStatus status)
Current status of the build.
|
void |
setStatus(String status)
Current status of the build.
|
void |
setVersion(String version)
Version information that is associated with a build or script.
|
String |
toString()
Returns a string representation of this object.
|
Build |
withBuildArn(String buildArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it.
|
Build |
withBuildId(String buildId)
A unique identifier for the build.
|
Build |
withCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
Build |
withName(String name)
A descriptive label that is associated with a build.
|
Build |
withOperatingSystem(OperatingSystem operatingSystem)
Operating system that the game server binaries are built to run on.
|
Build |
withOperatingSystem(String operatingSystem)
Operating system that the game server binaries are built to run on.
|
Build |
withSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes.
|
Build |
withStatus(BuildStatus status)
Current status of the build.
|
Build |
withStatus(String status)
Current status of the build.
|
Build |
withVersion(String version)
Version information that is associated with a build or script.
|
public void setBuildId(String buildId)
A unique identifier for the build.
buildId
- A unique identifier for the build.public String getBuildId()
A unique identifier for the build.
public Build withBuildId(String buildId)
A unique identifier for the build.
buildId
- A unique identifier for the build.public void setBuildArn(String buildArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.
buildArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.public String getBuildArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.
arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.public Build withBuildArn(String buildArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift build resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.
buildArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift build resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. In a
GameLift build ARN, the resource ID matches the BuildId value.public void setName(String name)
A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- A descriptive label that is associated with a build. Build names do not need to be unique. It can be set
using CreateBuild or UpdateBuild.public String getName()
A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
public Build withName(String name)
A descriptive label that is associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- A descriptive label that is associated with a build. Build names do not need to be unique. It can be set
using CreateBuild or UpdateBuild.public void setVersion(String version)
Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.
version
- Version information that is associated with a build or script. Version strings do not need to be unique.
This value can be set using CreateBuild or UpdateBuild.public String getVersion()
Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.
public Build withVersion(String version)
Version information that is associated with a build or script. Version strings do not need to be unique. This value can be set using CreateBuild or UpdateBuild.
version
- Version information that is associated with a build or script. Version strings do not need to be unique.
This value can be set using CreateBuild or UpdateBuild.public void setStatus(String status)
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
status
- Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatus
public String getStatus()
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatus
public Build withStatus(String status)
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
status
- Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatus
public void setStatus(BuildStatus status)
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
status
- Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatus
public Build withStatus(BuildStatus status)
Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
status
- Current status of the build.
Possible build statuses include the following:
INITIALIZED -- A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this status. When a build is successfully created, the build status is set to this value.
READY -- The game build has been successfully uploaded. You can now create new fleets for this build.
FAILED -- The game build upload failed. You cannot create new fleets for this build.
BuildStatus
public void setSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED
, this
value is 0.
sizeOnDisk
- File size of the uploaded game build, expressed in bytes. When the build status is
INITIALIZED
, this value is 0.public Long getSizeOnDisk()
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED
, this
value is 0.
INITIALIZED
, this value is 0.public Build withSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes. When the build status is INITIALIZED
, this
value is 0.
sizeOnDisk
- File size of the uploaded game build, expressed in bytes. When the build status is
INITIALIZED
, this value is 0.public void setOperatingSystem(String operatingSystem)
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
operatingSystem
- Operating system that the game server binaries are built to run on. This value determines the type of
fleet resources that you can use for this build.OperatingSystem
public String getOperatingSystem()
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
OperatingSystem
public Build withOperatingSystem(String operatingSystem)
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
operatingSystem
- Operating system that the game server binaries are built to run on. This value determines the type of
fleet resources that you can use for this build.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
operatingSystem
- Operating system that the game server binaries are built to run on. This value determines the type of
fleet resources that you can use for this build.OperatingSystem
public Build withOperatingSystem(OperatingSystem operatingSystem)
Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
operatingSystem
- Operating system that the game server binaries are built to run on. This value determines the type of
fleet resources that you can use for this build.OperatingSystem
public void setCreationTime(Date creationTime)
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
creationTime
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).public Date getCreationTime()
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
"1469498468.057"
).public Build withCreationTime(Date creationTime)
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
creationTime
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.