public class CreateBuildRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
Descriptive label associated with this build.
|
private S3Location |
storageLocation |
private java.lang.String |
version
Version associated with this build.
|
NOOP
Constructor and Description |
---|
CreateBuildRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBuildRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Descriptive label associated with this build.
|
S3Location |
getStorageLocation() |
java.lang.String |
getVersion()
Version associated with this build.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Descriptive label associated with this build.
|
void |
setStorageLocation(S3Location storageLocation) |
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.
|
CreateBuildRequest |
withName(java.lang.String name)
Descriptive label associated with this build.
|
CreateBuildRequest |
withStorageLocation(S3Location storageLocation) |
CreateBuildRequest |
withVersion(java.lang.String version)
Version associated with this build.
|
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
private java.lang.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.
private java.lang.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.
private S3Location storageLocation
public void setName(java.lang.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.
name
- Descriptive label associated with this build. Build names do not
need to be unique. A build name can be changed later using
UpdateBuild.public java.lang.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.
public CreateBuildRequest withName(java.lang.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.
name
- Descriptive label associated with this build. Build names do not
need to be unique. A build name can be changed later using
UpdateBuild.public void setVersion(java.lang.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.
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.public java.lang.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.
public CreateBuildRequest withVersion(java.lang.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.
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.public void setStorageLocation(S3Location storageLocation)
storageLocation
- public S3Location getStorageLocation()
public CreateBuildRequest withStorageLocation(S3Location storageLocation)
storageLocation
- 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 CreateBuildRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()