public class CreateBuildResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the returned data in response to a request action.
Modifier and Type | Field and Description |
---|---|
private Build |
build
Set of properties for the newly created build.
|
private S3Location |
storageLocation
Amazon S3 path and key, identifying where the game build files are
stored.
|
private Credentials |
uploadCredentials
AWS credentials required when uploading a game build to the storage
location.
|
Constructor and Description |
---|
CreateBuildResult() |
Modifier and Type | Method and Description |
---|---|
CreateBuildResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Build |
getBuild()
Set of properties for the newly created build.
|
S3Location |
getStorageLocation()
Amazon S3 path and key, identifying where the game build files are
stored.
|
Credentials |
getUploadCredentials()
AWS credentials required when uploading a game build to the storage
location.
|
int |
hashCode() |
void |
setBuild(Build build)
Set of properties for the newly created build.
|
void |
setStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are
stored.
|
void |
setUploadCredentials(Credentials uploadCredentials)
AWS credentials required when uploading a game build to the storage
location.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateBuildResult |
withBuild(Build build)
Set of properties for the newly created build.
|
CreateBuildResult |
withStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are
stored.
|
CreateBuildResult |
withUploadCredentials(Credentials uploadCredentials)
AWS credentials required when uploading a game build to the storage
location.
|
private Build build
Set of properties for the newly created build.
private Credentials uploadCredentials
AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
private S3Location storageLocation
Amazon S3 path and key, identifying where the game build files are stored.
public void setBuild(Build build)
Set of properties for the newly created build.
build
- Set of properties for the newly created build.public Build getBuild()
Set of properties for the newly created build.
public CreateBuildResult withBuild(Build build)
Set of properties for the newly created build.
build
- Set of properties for the newly created build.public void setUploadCredentials(Credentials uploadCredentials)
AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
uploadCredentials
- AWS credentials required when uploading a game build to the
storage location. These credentials have a limited lifespan and
are valid only for the build they were issued for. If you need to
get fresh credentials, call RequestUploadCredentials.public Credentials getUploadCredentials()
AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
public CreateBuildResult withUploadCredentials(Credentials uploadCredentials)
AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
uploadCredentials
- AWS credentials required when uploading a game build to the
storage location. These credentials have a limited lifespan and
are valid only for the build they were issued for. If you need to
get fresh credentials, call RequestUploadCredentials.public void setStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are stored.
storageLocation
- Amazon S3 path and key, identifying where the game build files are
stored.public S3Location getStorageLocation()
Amazon S3 path and key, identifying where the game build files are stored.
public CreateBuildResult withStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are stored.
storageLocation
- Amazon S3 path and key, identifying where the game build files are
stored.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 CreateBuildResult clone()
clone
in class java.lang.Object