Class CreateBuildResult
- java.lang.Object
-
- com.amazonaws.services.gamelift.model.CreateBuildResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateBuildResult extends Object implements Serializable, Cloneable
Represents the returned data in response to a request action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateBuildResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBuildResult
clone()
boolean
equals(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.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.
-
-
-
Method Detail
-
setBuild
public void setBuild(Build build)
Set of properties for the newly created build.
- Parameters:
build
- Set of properties for the newly created build.
-
getBuild
public Build getBuild()
Set of properties for the newly created build.
- Returns:
- Set of properties for the newly created build.
-
withBuild
public CreateBuildResult withBuild(Build build)
Set of properties for the newly created build.
- Parameters:
build
- Set of properties for the newly created build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadCredentials
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.
- Parameters:
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.
-
getUploadCredentials
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.
- Returns:
- 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.
-
withUploadCredentials
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStorageLocation
public void setStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are stored.
- Parameters:
storageLocation
- Amazon S3 path and key, identifying where the game build files are stored.
-
getStorageLocation
public S3Location getStorageLocation()
Amazon S3 path and key, identifying where the game build files are stored.
- Returns:
- Amazon S3 path and key, identifying where the game build files are stored.
-
withStorageLocation
public CreateBuildResult withStorageLocation(S3Location storageLocation)
Amazon S3 path and key, identifying where the game build files are stored.
- Parameters:
storageLocation
- Amazon S3 path and key, identifying where the game build files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateBuildResult clone()
-
-