Interface CreateKeyspaceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateKeyspaceRequest.Builder,CreateKeyspaceRequest>,KeyspacesRequest.Builder,SdkBuilder<CreateKeyspaceRequest.Builder,CreateKeyspaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateKeyspaceRequest
public static interface CreateKeyspaceRequest.Builder extends KeyspacesRequest.Builder, SdkPojo, CopyableBuilder<CreateKeyspaceRequest.Builder,CreateKeyspaceRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.keyspaces.model.KeyspacesRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
keyspaceName
CreateKeyspaceRequest.Builder keyspaceName(String keyspaceName)
The name of the keyspace to be created.
- Parameters:
keyspaceName- The name of the keyspace to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateKeyspaceRequest.Builder tags(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateKeyspaceRequest.Builder tags(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateKeyspaceRequest.Builder tags(Consumer<Tag.Builder>... 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.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
replicationSpecification
CreateKeyspaceRequest.Builder replicationSpecification(ReplicationSpecification replicationSpecification)
The replication specification of the keyspace includes:
-
replicationStrategy- the required value isSINGLE_REGIONorMULTI_REGION. -
regionList- if thereplicationStrategyisMULTI_REGION, theregionListrequires 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.
- Parameters:
replicationSpecification- The replication specification of the keyspace includes:-
replicationStrategy- the required value isSINGLE_REGIONorMULTI_REGION. -
regionList- if thereplicationStrategyisMULTI_REGION, theregionListrequires 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicationSpecification
default CreateKeyspaceRequest.Builder replicationSpecification(Consumer<ReplicationSpecification.Builder> replicationSpecification)
The replication specification of the keyspace includes:
-
replicationStrategy- the required value isSINGLE_REGIONorMULTI_REGION. -
regionList- if thereplicationStrategyisMULTI_REGION, theregionListrequires 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.Builderavoiding the need to create one manually viaReplicationSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationSpecification(ReplicationSpecification).- Parameters:
replicationSpecification- a consumer that will call methods onReplicationSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
replicationSpecification(ReplicationSpecification)
-
-
overrideConfiguration
CreateKeyspaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateKeyspaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-