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 data object was created.
|
String |
getName()
Descriptive label associated with a 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 data object was created.
|
void |
setName(String name)
Descriptive label associated with a 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 data object was created.
|
Build |
withName(String name)
Descriptive label associated with a 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 a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- Descriptive label associated with a build. Build names do not need
to be unique. It can be set using CreateBuild or
UpdateBuild.public String getName()
Descriptive label 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)
Descriptive label associated with a build. Build names do not need to be unique. It can be set using CreateBuild or UpdateBuild.
name
- Descriptive label 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 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 statuses include the following:
status
- Current status of the build.
Possible build statuses include the following:
BuildStatus
public String getStatus()
Current status of the build.
Possible build statuses include the following:
Possible build statuses include the following:
BuildStatus
public Build withStatus(String status)
Current status of the build.
Possible build statuses include the following:
status
- Current status of the build.
Possible build statuses include the following:
BuildStatus
public void setStatus(BuildStatus status)
Current status of the build.
Possible build statuses include the following:
status
- Current status of the build.
Possible build statuses include the following:
BuildStatus
public Build withStatus(BuildStatus status)
Current status of the build.
Possible build statuses include the following:
status
- Current status of the build.
Possible build statuses include the following:
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 setCreationTime(Date creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057".
creationTime
- Time stamp indicating when this data object was created. Format is
a number expressed in Unix time as milliseconds (ex:
"1469498468.057".public Date getCreationTime()
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057".
public Build withCreationTime(Date creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057".
creationTime
- Time stamp indicating when this data object was created. Format is
a number expressed in Unix time as milliseconds (ex:
"1469498468.057".public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.