@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKeyspaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateKeyspaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateKeyspaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyspaceName()
The name of the keyspace to be created.
|
List<Tag> |
getTags()
A list of key-value pair tags to be attached to the keyspace.
|
int |
hashCode() |
void |
setKeyspaceName(String keyspaceName)
The name of the keyspace to be created.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pair tags to be attached to the keyspace.
|
String |
toString()
Returns a string representation of this object.
|
CreateKeyspaceRequest |
withKeyspaceName(String keyspaceName)
The name of the keyspace to be created.
|
CreateKeyspaceRequest |
withTags(Collection<Tag> tags)
A list of key-value pair tags to be attached to the keyspace.
|
CreateKeyspaceRequest |
withTags(Tag... tags)
A list of key-value pair tags to be attached to the keyspace.
|
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 setKeyspaceName(String keyspaceName)
The name of the keyspace to be created.
keyspaceName
- The name of the keyspace to be created.public String getKeyspaceName()
The name of the keyspace to be created.
public CreateKeyspaceRequest withKeyspaceName(String keyspaceName)
The name of the keyspace to be created.
keyspaceName
- The name of the keyspace to be created.public List<Tag> getTags()
A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public void setTags(Collection<Tag> tags)
A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
tags
- A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public CreateKeyspaceRequest withTags(Tag... tags)
A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public CreateKeyspaceRequest withTags(Collection<Tag> tags)
A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
tags
- A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateKeyspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()