Interface ModifyGlobalReplicationGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyGlobalReplicationGroupRequest.Builder,
,ModifyGlobalReplicationGroupRequest> ElastiCacheRequest.Builder
,SdkBuilder<ModifyGlobalReplicationGroupRequest.Builder,
,ModifyGlobalReplicationGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyGlobalReplicationGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplyImmediately
(Boolean applyImmediately) This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible.automaticFailoverEnabled
(Boolean automaticFailoverEnabled) Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.cacheNodeType
(String cacheNodeType) A valid cache node type that you want to scale this Global datastore to.cacheParameterGroupName
(String cacheParameterGroupName) The name of the cache parameter group to use with the Global datastore.engineVersion
(String engineVersion) The upgraded version of the cache engine to be run on the clusters in the Global datastore.globalReplicationGroupDescription
(String globalReplicationGroupDescription) A description of the Global datastoreglobalReplicationGroupId
(String globalReplicationGroupId) The name of the Global datastoreoverrideConfiguration
(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.elasticache.model.ElastiCacheRequest.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
-
globalReplicationGroupId
ModifyGlobalReplicationGroupRequest.Builder globalReplicationGroupId(String globalReplicationGroupId) The name of the Global datastore
- Parameters:
globalReplicationGroupId
- The name of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applyImmediately
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
- Parameters:
applyImmediately
- This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeType
A valid cache node type that you want to scale this Global datastore to.
- Parameters:
cacheNodeType
- A valid cache node type that you want to scale this Global datastore to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
- Parameters:
engineVersion
- The upgraded version of the cache engine to be run on the clusters in the Global datastore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheParameterGroupName
The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
- Parameters:
cacheParameterGroupName
- The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalReplicationGroupDescription
ModifyGlobalReplicationGroupRequest.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription) A description of the Global datastore
- Parameters:
globalReplicationGroupDescription
- A description of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFailoverEnabled
ModifyGlobalReplicationGroupRequest.Builder automaticFailoverEnabled(Boolean automaticFailoverEnabled) Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
- Parameters:
automaticFailoverEnabled
- Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyGlobalReplicationGroupRequest.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
ModifyGlobalReplicationGroupRequest.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.
-