public class Build
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Properties describing a game build.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
buildId
Unique identifier for a build.
|
private java.util.Date |
creationTime
Time stamp indicating when this object was created.
|
private java.lang.String |
name
Descriptive label associated with this build.
|
private java.lang.Long |
sizeOnDisk
File size of the uploaded game build, expressed in bytes.
|
private java.lang.String |
status
Current status of the build.
|
private java.lang.String |
version
Version associated with this build.
|
Constructor and Description |
---|
Build() |
Modifier and Type | Method and Description |
---|---|
Build |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBuildId()
Unique identifier for a build.
|
java.util.Date |
getCreationTime()
Time stamp indicating when this object was created.
|
java.lang.String |
getName()
Descriptive label associated with this build.
|
java.lang.Long |
getSizeOnDisk()
File size of the uploaded game build, expressed in bytes.
|
java.lang.String |
getStatus()
Current status of the build.
|
java.lang.String |
getVersion()
Version associated with this build.
|
int |
hashCode() |
void |
setBuildId(java.lang.String buildId)
Unique identifier for a build.
|
void |
setCreationTime(java.util.Date creationTime)
Time stamp indicating when this object was created.
|
void |
setName(java.lang.String name)
Descriptive label associated with this build.
|
void |
setSizeOnDisk(java.lang.Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes.
|
void |
setStatus(BuildStatus status)
Current status of the build.
|
void |
setStatus(java.lang.String status)
Current status of the build.
|
void |
setVersion(java.lang.String version)
Version associated with this build.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Build |
withBuildId(java.lang.String buildId)
Unique identifier for a build.
|
Build |
withCreationTime(java.util.Date creationTime)
Time stamp indicating when this object was created.
|
Build |
withName(java.lang.String name)
Descriptive label associated with this build.
|
Build |
withSizeOnDisk(java.lang.Long sizeOnDisk)
File size of the uploaded game build, expressed in bytes.
|
Build |
withStatus(BuildStatus status)
Current status of the build.
|
Build |
withStatus(java.lang.String status)
Current status of the build.
|
Build |
withVersion(java.lang.String version)
Version associated with this build.
|
private java.lang.String buildId
Unique identifier for a build.
private java.lang.String name
Descriptive label associated with this build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
private java.lang.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.
private java.lang.String status
Current status of the build. Possible build states include:
private java.lang.Long sizeOnDisk
File size of the uploaded game build, expressed in bytes. When the build state is INITIALIZED, this value is 0.
private java.util.Date creationTime
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
public void setBuildId(java.lang.String buildId)
Unique identifier for a build.
buildId
- Unique identifier for a build.public java.lang.String getBuildId()
Unique identifier for a build.
public Build withBuildId(java.lang.String buildId)
Unique identifier for a build.
buildId
- Unique identifier for a build.public void setName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String status)
Current status of the build. Possible build states include:
status
- Current status of the build. Possible build states include:
BuildStatus
public java.lang.String getStatus()
Current status of the build. Possible build states include:
BuildStatus
public Build withStatus(java.lang.String status)
Current status of the build. Possible build states include:
status
- Current status of the build. Possible build states include:
BuildStatus
public void setStatus(BuildStatus status)
Current status of the build. Possible build states include:
status
- Current status of the build. Possible build states include:
BuildStatus
public Build withStatus(BuildStatus status)
Current status of the build. Possible build states include:
status
- Current status of the build. Possible build states include:
BuildStatus
public void setSizeOnDisk(java.lang.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 java.lang.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(java.lang.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(java.util.Date creationTime)
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public java.util.Date getCreationTime()
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
public Build withCreationTime(java.util.Date creationTime)
Time stamp indicating when this object was created. Format is an integer representing the number of seconds since the Unix epoch (Unix time).
creationTime
- Time stamp indicating when this object was created. Format is an
integer representing the number of seconds since the Unix epoch
(Unix time).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Build clone()
clone
in class java.lang.Object