Interface ModifyGlobalClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyGlobalClusterRequest.Builder,
,ModifyGlobalClusterRequest> DocDbRequest.Builder
,SdkBuilder<ModifyGlobalClusterRequest.Builder,
,ModifyGlobalClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyGlobalClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtection
(Boolean deletionProtection) Indicates if the global cluster has deletion protection enabled.globalClusterIdentifier
(String globalClusterIdentifier) The identifier for the global cluster being modified.newGlobalClusterIdentifier
(String newGlobalClusterIdentifier) The new identifier for a global cluster when you modify a global cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 identifier for the global cluster being modified. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing global cluster.
- Parameters:
globalClusterIdentifier
- The identifier for the global cluster being modified. This parameter isn't case-sensitive.Constraints:
-
Must match the identifier of an existing global cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
newGlobalClusterIdentifier
The new identifier for a global cluster when you modify a global cluster. This value is stored as a lowercase string.
-
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
- Parameters:
newGlobalClusterIdentifier
- The new identifier for a global cluster when you modify a global cluster. This value is stored as a lowercase string.-
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deletionProtection
Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection
- Indicates if the global cluster has deletion protection enabled. 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.
-
overrideConfiguration
ModifyGlobalClusterRequest.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
ModifyGlobalClusterRequest.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.
-