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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateGlobalClusterRequest.BuilderdatabaseName(String databaseName)The name for your database of up to 64 alpha-numeric characters.CreateGlobalClusterRequest.BuilderdeletionProtection(Boolean deletionProtection)The deletion protection setting for the new global cluster.CreateGlobalClusterRequest.Builderengine(String engine)The name of the database engine to be used for this cluster.CreateGlobalClusterRequest.BuilderengineVersion(String engineVersion)The engine version of the global cluster.CreateGlobalClusterRequest.BuilderglobalClusterIdentifier(String globalClusterIdentifier)The cluster identifier of the new global cluster.CreateGlobalClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateGlobalClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateGlobalClusterRequest.BuildersourceDBClusterIdentifier(String sourceDBClusterIdentifier)The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.CreateGlobalClusterRequest.BuilderstorageEncrypted(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 Detail
-
globalClusterIdentifier
CreateGlobalClusterRequest.Builder globalClusterIdentifier(String 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
CreateGlobalClusterRequest.Builder sourceDBClusterIdentifier(String 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
CreateGlobalClusterRequest.Builder engine(String 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
CreateGlobalClusterRequest.Builder engineVersion(String 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
CreateGlobalClusterRequest.Builder deletionProtection(Boolean 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
CreateGlobalClusterRequest.Builder databaseName(String 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
CreateGlobalClusterRequest.Builder storageEncrypted(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGlobalClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-