Class CreateBuildRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.gamelift.model.CreateBuildRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateBuildRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateBuildRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBuildRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getName()
Descriptive label associated with this build.S3Location
getStorageLocation()
String
getVersion()
Version associated with this build.int
hashCode()
void
setName(String name)
Descriptive label associated with this build.void
setStorageLocation(S3Location storageLocation)
void
setVersion(String version)
Version associated with this build.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateBuildRequest
withName(String name)
Descriptive label associated with this build.CreateBuildRequest
withStorageLocation(S3Location storageLocation)
CreateBuildRequest
withVersion(String version)
Version associated with this build.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setName
public void setName(String name)
Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.
- Parameters:
name
- Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.
-
getName
public String getName()
Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.
- Returns:
- Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.
-
withName
public CreateBuildRequest withName(String name)
Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.
- Parameters:
name
- Descriptive label associated with this build. Build names do not need to be unique. A build name can be changed later using UpdateBuild.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.
- Parameters:
version
- Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.
-
getVersion
public String getVersion()
Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.
- Returns:
- Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.
-
withVersion
public CreateBuildRequest withVersion(String version)
Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.
- Parameters:
version
- Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStorageLocation
public void setStorageLocation(S3Location storageLocation)
- Parameters:
storageLocation
-
-
getStorageLocation
public S3Location getStorageLocation()
- Returns:
-
withStorageLocation
public CreateBuildRequest withStorageLocation(S3Location storageLocation)
- Parameters:
storageLocation
-- 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 CreateBuildRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-