Class ModifyGlobalReplicationGroupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest
-
- software.amazon.awssdk.services.elasticache.model.ModifyGlobalReplicationGroupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyGlobalReplicationGroupRequest.Builder,ModifyGlobalReplicationGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyGlobalReplicationGroupRequest extends ElastiCacheRequest implements ToCopyableBuilder<ModifyGlobalReplicationGroupRequest.Builder,ModifyGlobalReplicationGroupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModifyGlobalReplicationGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanapplyImmediately()This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible.BooleanautomaticFailoverEnabled()Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.static ModifyGlobalReplicationGroupRequest.Builderbuilder()StringcacheNodeType()A valid cache node type that you want to scale this Global datastore to.StringcacheParameterGroupName()The name of the cache parameter group to use with the Global datastore.Stringengine()Modifies the engine listed in a global replication group message.StringengineVersion()The upgraded version of the cache engine to be run on the clusters in the Global datastore.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalReplicationGroupDescription()A description of the Global datastoreStringglobalReplicationGroupId()The name of the Global datastoreinthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModifyGlobalReplicationGroupRequest.Builder>serializableBuilderClass()ModifyGlobalReplicationGroupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
globalReplicationGroupId
public final String globalReplicationGroupId()
The name of the Global datastore
- Returns:
- The name of the Global datastore
-
applyImmediately
public final Boolean 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:
- 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.
-
cacheNodeType
public final String cacheNodeType()
A valid cache node type that you want to scale this Global datastore to.
- Returns:
- A valid cache node type that you want to scale this Global datastore to.
-
engine
public final String engine()
Modifies the engine listed in a global replication group message. The options are redis, memcached or valkey.
- Returns:
- Modifies the engine listed in a global replication group message. The options are redis, memcached or valkey.
-
engineVersion
public final String engineVersion()
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
- Returns:
- The upgraded version of the cache engine to be run on the clusters in the Global datastore.
-
cacheParameterGroupName
public final String 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:
- 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.
-
globalReplicationGroupDescription
public final String globalReplicationGroupDescription()
A description of the Global datastore
- Returns:
- A description of the Global datastore
-
automaticFailoverEnabled
public final Boolean automaticFailoverEnabled()
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
- Returns:
- Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
-
toBuilder
public ModifyGlobalReplicationGroupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyGlobalReplicationGroupRequest.Builder,ModifyGlobalReplicationGroupRequest>- Specified by:
toBuilderin classElastiCacheRequest
-
builder
public static ModifyGlobalReplicationGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyGlobalReplicationGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-