Interface CreateGlobalClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateGlobalClusterRequest.Builder,
,CreateGlobalClusterRequest> DocDbRequest.Builder
,SdkBuilder<CreateGlobalClusterRequest.Builder,
,CreateGlobalClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateGlobalClusterRequest
public static interface CreateGlobalClusterRequest.Builder
extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseName
(String databaseName) The name for your database of up to 64 alpha-numeric characters.deletionProtection
(Boolean deletionProtection) The deletion protection setting for the new global cluster.The name of the database engine to be used for this cluster.engineVersion
(String engineVersion) The engine version of the global cluster.globalClusterIdentifier
(String globalClusterIdentifier) The cluster identifier of the new global cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceDBClusterIdentifier
(String sourceDBClusterIdentifier) The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.storageEncrypted
(Boolean storageEncrypted) The storage encryption setting for the new global cluster.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.docdb.model.DocDbRequest.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 Details
-
globalClusterIdentifier
The cluster identifier of the new global cluster.
- Parameters:
globalClusterIdentifier
- The cluster identifier of the new global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDBClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
- Parameters:
sourceDBClusterIdentifier
- The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The name of the database engine to be used for this cluster.
- Parameters:
engine
- The name of the database engine to be used for this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version of the global cluster.
- Parameters:
engineVersion
- The engine version of the global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection
- The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
- Parameters:
databaseName
- The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageEncrypted
The storage encryption setting for the new global cluster.
- Parameters:
storageEncrypted
- The storage encryption setting for the new global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGlobalClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGlobalClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-