Interface CreateGlobalClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGlobalClusterRequest.Builder,,CreateGlobalClusterRequest> NeptuneRequest.Builder,SdkBuilder<CreateGlobalClusterRequest.Builder,,CreateGlobalClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGlobalClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseName(String databaseName) The name for the new global database (up to 64 alpha-numeric characters.deletionProtection(Boolean deletionProtection) The deletion protection setting for the new global database.The name of the database engine to be used in the global database.engineVersion(String engineVersion) The Neptune engine version to be used by the global database.globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier of the new global database cluster.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceDBClusterIdentifier(String sourceDBClusterIdentifier) (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.storageEncrypted(Boolean storageEncrypted) The storage encryption setting for the new global database cluster.tags(Collection<Tag> tags) Tags to assign to the global cluster.tags(Consumer<Tag.Builder>... tags) Tags to assign to the global cluster.Tags to assign to the global cluster.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.neptune.model.NeptuneRequest.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
-
globalClusterIdentifier
The cluster identifier of the new global database cluster.
- Parameters:
globalClusterIdentifier- The cluster identifier of the new global database cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDBClusterIdentifier
(Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.
- Parameters:
sourceDBClusterIdentifier- (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.- 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 in the global database.
Valid values:
neptune- Parameters:
engine- The name of the database engine to be used in the global database.Valid values:
neptune- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The Neptune engine version to be used by the global database.
Valid values:
1.2.0.0or above.- Parameters:
engineVersion- The Neptune engine version to be used by the global database.Valid values:
1.2.0.0or above.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- The deletion protection setting for the new global database. 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
The name for the new global database (up to 64 alpha-numeric characters.
- Parameters:
databaseName- The name for the new global database (up to 64 alpha-numeric characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the global cluster.
- Parameters:
tags- Tags to assign to the global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the global cluster.
- Parameters:
tags- Tags to assign to the global cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the global cluster.
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 totags(List<Tag>).- 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:
-
storageEncrypted
The storage encryption setting for the new global database cluster.
- Parameters:
storageEncrypted- The storage encryption setting for the new global database 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-