@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.
|
ReplicationSpecification |
getReplicationSpecification()
The replication specification of the keyspace includes:
|
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 |
setReplicationSpecification(ReplicationSpecification replicationSpecification)
The replication specification of the keyspace includes:
|
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 |
withReplicationSpecification(ReplicationSpecification replicationSpecification)
The replication specification of the keyspace includes:
|
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 void setReplicationSpecification(ReplicationSpecification replicationSpecification)
The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services Region where
the keyspace is going to be replicated in. The maximum number of supported replication Regions including the
current Region is six.
replicationSpecification
- The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or
MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services Region
where the keyspace is going to be replicated in. The maximum number of supported replication Regions
including the current Region is six.
public ReplicationSpecification getReplicationSpecification()
The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services Region where
the keyspace is going to be replicated in. The maximum number of supported replication Regions including the
current Region is six.
replicationStrategy
- the required value is SINGLE_REGION
or
MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services
Region where the keyspace is going to be replicated in. The maximum number of supported replication
Regions including the current Region is six.
public CreateKeyspaceRequest withReplicationSpecification(ReplicationSpecification replicationSpecification)
The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services Region where
the keyspace is going to be replicated in. The maximum number of supported replication Regions including the
current Region is six.
replicationSpecification
- The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or
MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional Amazon Web Services Region
where the keyspace is going to be replicated in. The maximum number of supported replication Regions
including the current Region is six.
public String toString()
toString
in class Object
Object.toString()
public CreateKeyspaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()