Interface CreateGlobalTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGlobalTableRequest.Builder,,CreateGlobalTableRequest> DynamoDbRequest.Builder,SdkBuilder<CreateGlobalTableRequest.Builder,,CreateGlobalTableRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGlobalTableRequest
@Mutable
@NotThreadSafe
public static interface CreateGlobalTableRequest.Builder
extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<CreateGlobalTableRequest.Builder,CreateGlobalTableRequest>
-
Method Summary
Modifier and TypeMethodDescriptionglobalTableName(String globalTableName) The global table name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) replicationGroup(Collection<Replica> replicationGroup) The Regions where the global table needs to be created.replicationGroup(Consumer<Replica.Builder>... replicationGroup) The Regions where the global table needs to be created.replicationGroup(Replica... replicationGroup) The Regions where the global table needs to be created.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
globalTableName
The global table name.
- Parameters:
globalTableName- The global table name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
The Regions where the global table needs to be created.
- Parameters:
replicationGroup- The Regions where the global table needs to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
The Regions where the global table needs to be created.
- Parameters:
replicationGroup- The Regions where the global table needs to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
The Regions where the global table needs to be created.
This is a convenience method that creates an instance of theReplica.Builderavoiding the need to create one manually viaReplica.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationGroup(List<Replica>).- Parameters:
replicationGroup- a consumer that will call methods onReplica.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateGlobalTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGlobalTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-