public class Build extends Object implements Serializable, Cloneable
Properties describing a game build.
Constructor and Description |
---|
Build() |
Modifier and Type | Method and Description |
---|---|
Build |
clone() |
boolean |
equals(Object obj) |
String |
getBuildId()
Unique identifier for a build.
|
Date |
getCreationTime()
Time stamp indicating when this object was created.
|
String |
getName()
Descriptive label associated with this build.
|
Long |
getSizeOnDisk()
File size of the uploaded game build, expressed in bytes.
|
String |
getStatus()
Current status of the build.
|
String |
getVersion()
Version associated with this build.
|
int |
hashCode() |
void |
setBuildId(String buildId)
Unique identifier for a build.
|
void |
setCreationTime(Date creationTime)
Time stamp indicating when this object was created.
|
void |
setName(String name)
Descriptive label associated with this build.
|
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 associated with this build.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Build |
withBuildId(String buildId)
Unique identifier for a build.
|
Build |
withCreationTime(Date creationTime)
Time stamp indicating when this object was created.
|
Build |
withName(String name)
Descriptive label associated with this build.
|
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 associated with this build.
|
public void setBuildId(String buildId)
Unique identifier for a build.
buildId
- Unique identifier for a build.public String getBuildId()
Unique identifier for a build.
public Build withBuildId(String buildId)
Unique identifier for a build.
buildId
- Unique identifier for a build.public void setName(String name)
Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- Descriptive label associated with this build. Build names do not
need to be unique. It can be set using CreateBuild or
UpdateBuild.public String getName()
Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
public Build withName(String name)
Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- Descriptive label associated with this build. Build names do not
need to be unique. It can be set using CreateBuild or
UpdateBuild.public void setVersion(String version)
Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
version
- Version associated with this build. Version strings do not need to
be unique to a build. This value can be set using
CreateBuild or UpdateBuild.public String getVersion()
Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
public Build withVersion(String version)
Version associated with this build. Version strings do not need to be unique to a build. This value can be set using CreateBuild or UpdateBuild.
version
- Version associated with this build. Version strings do not need to
be unique to a build. This value can be set using
CreateBuild or UpdateBuild.public void setStatus(String status)
Current status of the build. Possible build states include: ltulgtltligtINITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state is set to this value. lt/ligtltligtREADY: The game build has been successfully uploaded. You can now create new fleets for this build.lt/ligtltligtFAILED: The game build upload failed. You cannot create new fleets for this build. lt/ligtlt/ulgt
status
- Current status of the build. Possible build states include:
ltulgtltligtINITIALIZED: A new build has been defined, but no
files have been uploaded. You cannot create fleets for builds that
are in this state. When a build is successfully created, the build
state is set to this value. lt/ligtltligtREADY: The game build has
been successfully uploaded. You can now create new fleets for this
build.lt/ligtltligtFAILED: The game build upload failed. You
cannot create new fleets for this build. lt/ligtlt/ulgtBuildStatus
public String getStatus()
Current status of the build. Possible build states include: ltulgtltligtINITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state is set to this value. lt/ligtltligtREADY: The game build has been successfully uploaded. You can now create new fleets for this build.lt/ligtltligtFAILED: The game build upload failed. You cannot create new fleets for this build. lt/ligtlt/ulgt
BuildStatus
public Build withStatus(String status)
Current status of the build. Possible build states include: ltulgtltligtINITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state is set to this value. lt/ligtltligtREADY: The game build has been successfully uploaded. You can now create new fleets for this build.lt/ligtltligtFAILED: The game build upload failed. You cannot create new fleets for this build. lt/ligtlt/ulgt
status
- Current status of the build. Possible build states include:
ltulgtltligtINITIALIZED: A new build has been defined, but no
files have been uploaded. You cannot create fleets for builds that
are in this state. When a build is successfully created, the build
state is set to this value. lt/ligtltligtREADY: The game build has
been successfully uploaded. You can now create new fleets for this
build.lt/ligtltligtFAILED: The game build upload failed. You
cannot create new fleets for this build. lt/ligtlt/ulgtBuildStatus
public void setStatus(BuildStatus status)
Current status of the build. Possible build states include: ltulgtltligtINITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state is set to this value. lt/ligtltligtREADY: The game build has been successfully uploaded. You can now create new fleets for this build.lt/ligtltligtFAILED: The game build upload failed. You cannot create new fleets for this build. lt/ligtlt/ulgt
status
- Current status of the build. Possible build states include:
ltulgtltligtINITIALIZED: A new build has been defined, but no
files have been uploaded. You cannot create fleets for builds that
are in this state. When a build is successfully created, the build
state is set to this value. lt/ligtltligtREADY: The game build has
been successfully uploaded. You can now create new fleets for this
build.lt/ligtltligtFAILED: The game build upload failed. You
cannot create new fleets for this build. lt/ligtlt/ulgtBuildStatus
public Build withStatus(BuildStatus status)
Current status of the build. Possible build states include: ltulgtltligtINITIALIZED: A new build has been defined, but no files have been uploaded. You cannot create fleets for builds that are in this state. When a build is successfully created, the build state is set to this value. lt/ligtltligtREADY: The game build has been successfully uploaded. You can now create new fleets for this build.lt/ligtltligtFAILED: The game build upload failed. You cannot create new fleets for this build. lt/ligtlt/ulgt
status
- Current status of the build. Possible build states include:
ltulgtltligtINITIALIZED: A new build has been defined, but no
files have been uploaded. You cannot create fleets for builds that
are in this state. When a build is successfully created, the build
state is set to this value. lt/ligtltligtREADY: The game build has
been successfully uploaded. You can now create new fleets for this
build.lt/ligtltligtFAILED: The game build upload failed. You
cannot create new fleets for this build. lt/ligtlt/ulgtBuildStatus
public void setSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
sizeOnDisk
- File size of the uploaded game build, expressed in bytes. When the
build state is INITIALIZED, this value is 0.public Long getSizeOnDisk()
File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
public Build withSizeOnDisk(Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
sizeOnDisk
- File size of the uploaded game build, expressed in bytes. When the
build state is INITIALIZED, this value is 0.public void setCreationTime(Date creationTime)
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since epoch.
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since epoch.public Date getCreationTime()
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since epoch.
public Build withCreationTime(Date creationTime)
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since epoch.
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since epoch.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.