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.Modifies the engine listed in a global replication group message.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.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
-
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.
-
engine
Modifies the engine listed in a global replication group message. The options are redis, memcached or valkey.
- Parameters:
engine- Modifies the engine listed in a global replication group message. The options are redis, memcached or valkey.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-