Interface CreateGlobalClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>,RdsRequest.Builder,SdkBuilder<CreateGlobalClusterRequest.Builder,CreateGlobalClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGlobalClusterRequest
public static interface CreateGlobalClusterRequest.Builder extends RdsRequest.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 alphanumeric characters.CreateGlobalClusterRequest.BuilderdeletionProtection(Boolean deletionProtection)Specifies whether to enable deletion protection for the new global database cluster.CreateGlobalClusterRequest.Builderengine(String engine)The database engine to use for this global database cluster.CreateGlobalClusterRequest.BuilderengineVersion(String engineVersion)The engine version to use for this global database cluster.CreateGlobalClusterRequest.BuilderglobalClusterIdentifier(String globalClusterIdentifier)The cluster identifier for this global database 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 database.CreateGlobalClusterRequest.BuilderstorageEncrypted(Boolean storageEncrypted)Specifies whether to enable storage encryption for the new global database 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.rds.model.RdsRequest.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 for this global database cluster. This parameter is stored as a lowercase string.
- Parameters:
globalClusterIdentifier- The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.- 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 database.
If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
-
DatabaseName -
Engine -
EngineVersion -
StorageEncrypted
- Parameters:
sourceDBClusterIdentifier- The Amazon Resource Name (ARN) to use as the primary cluster of the global database.If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
-
DatabaseName -
Engine -
EngineVersion -
StorageEncrypted
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engine
CreateGlobalClusterRequest.Builder engine(String engine)
The database engine to use for this global database cluster.
Valid Values:
aurora-mysql | aurora-postgresqlConstraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine of the source DB cluster.
- Parameters:
engine- The database engine to use for this global database cluster.Valid Values:
aurora-mysql | aurora-postgresqlConstraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine of the source DB 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 to use for this global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
- Parameters:
engineVersion- The engine version to use for this global database cluster.Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deletionProtection
CreateGlobalClusterRequest.Builder deletionProtection(Boolean deletionProtection)
Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- Specifies whether to enable deletion protection for the new global database cluster. The global database 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 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the database name from the source DB cluster.
- Parameters:
databaseName- The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the database name from the source DB cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
storageEncrypted
CreateGlobalClusterRequest.Builder storageEncrypted(Boolean storageEncrypted)
Specifies whether to enable storage encryption for the new global database cluster.
Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
- Parameters:
storageEncrypted- Specifies whether to enable storage encryption for the new global database cluster.Constraints:
-
Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB 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
-
-