@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateWorkspaceRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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.
|
String |
getKmsKeyArn()
Optional, customer managed KMS key used to encrypt data for this workspace
|
Map<String,String> |
getTags()
Optional, user-provided tags for this workspace.
|
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.
|
void |
setKmsKeyArn(String kmsKeyArn)
Optional, customer managed KMS key used to encrypt data for this workspace
|
void |
setTags(Map<String,String> tags)
Optional, user-provided tags for this workspace.
|
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.
|
CreateWorkspaceRequest |
withKmsKeyArn(String kmsKeyArn)
Optional, customer managed KMS key used to encrypt data for this workspace
|
CreateWorkspaceRequest |
withTags(Map<String,String> tags)
Optional, user-provided tags for this workspace.
|
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 Map<String,String> getTags()
Optional, user-provided tags for this workspace.
public void setTags(Map<String,String> tags)
Optional, user-provided tags for this workspace.
tags
- Optional, user-provided tags for this workspace.public CreateWorkspaceRequest withTags(Map<String,String> tags)
Optional, user-provided tags for this workspace.
tags
- Optional, user-provided tags for this workspace.public CreateWorkspaceRequest addTagsEntry(String key, String value)
public CreateWorkspaceRequest clearTagsEntries()
public void setKmsKeyArn(String kmsKeyArn)
Optional, customer managed KMS key used to encrypt data for this workspace
kmsKeyArn
- Optional, customer managed KMS key used to encrypt data for this workspacepublic String getKmsKeyArn()
Optional, customer managed KMS key used to encrypt data for this workspace
public CreateWorkspaceRequest withKmsKeyArn(String kmsKeyArn)
Optional, customer managed KMS key used to encrypt data for this workspace
kmsKeyArn
- Optional, customer managed KMS key used to encrypt data for this workspacepublic String toString()
toString
in class Object
Object.toString()
public CreateWorkspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()