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 interface
ModifyGlobalReplicationGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
applyImmediately()
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible.Boolean
automaticFailoverEnabled()
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.static ModifyGlobalReplicationGroupRequest.Builder
builder()
String
cacheNodeType()
A valid cache node type that you want to scale this Global datastore to.String
cacheParameterGroupName()
The name of the cache parameter group to use with the Global datastore.String
engineVersion()
The upgraded version of the cache engine to be run on the clusters in the Global datastore.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
String
globalReplicationGroupDescription()
A description of the Global datastoreString
globalReplicationGroupId()
The name of the Global datastoreint
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ModifyGlobalReplicationGroupRequest.Builder>
serializableBuilderClass()
ModifyGlobalReplicationGroupRequest.Builder
toBuilder()
String
toString()
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.
-
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:
toBuilder
in interfaceToCopyableBuilder<ModifyGlobalReplicationGroupRequest.Builder,ModifyGlobalReplicationGroupRequest>
- Specified by:
toBuilder
in classElastiCacheRequest
-
builder
public static ModifyGlobalReplicationGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyGlobalReplicationGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-