@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkspaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateWorkspace operation.
NOOP
Constructor and Description |
---|
CreateWorkspaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
An optional user-assigned alias for this workspace.
|
String |
getClientToken()
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
int |
hashCode() |
void |
setAlias(String alias)
An optional user-assigned alias for this workspace.
|
void |
setClientToken(String clientToken)
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkspaceRequest |
withAlias(String alias)
An optional user-assigned alias for this workspace.
|
CreateWorkspaceRequest |
withClientToken(String clientToken)
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAlias(String alias)
An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
alias
- An optional user-assigned alias for this workspace. This alias is for user reference and does not need to
be unique.public String getAlias()
An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
public CreateWorkspaceRequest withAlias(String alias)
An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
alias
- An optional user-assigned alias for this workspace. This alias is for user reference and does not need to
be unique.public void setClientToken(String clientToken)
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.public String getClientToken()
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
public CreateWorkspaceRequest withClientToken(String clientToken)
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.public String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()