Class DeleteReplicationGroupRequest
- 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.DeleteReplicationGroupRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteReplicationGroupRequest extends ElastiCacheRequest implements ToCopyableBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>
Represents the input of a
DeleteReplicationGroup
operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeleteReplicationGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteReplicationGroupRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
finalSnapshotIdentifier()
The name of a final node group (shard) snapshot.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
replicationGroupId()
The identifier for the cluster to be deleted.Boolean
retainPrimaryCluster()
If set totrue
, all of the read replicas are deleted, but the primary node is retained.List<SdkField<?>>
sdkFields()
static Class<? extends DeleteReplicationGroupRequest.Builder>
serializableBuilderClass()
DeleteReplicationGroupRequest.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
-
replicationGroupId
public final String replicationGroupId()
The identifier for the cluster to be deleted. This parameter is not case sensitive.
- Returns:
- The identifier for the cluster to be deleted. This parameter is not case sensitive.
-
retainPrimaryCluster
public final Boolean retainPrimaryCluster()
If set to
true
, all of the read replicas are deleted, but the primary node is retained.- Returns:
- If set to
true
, all of the read replicas are deleted, but the primary node is retained.
-
finalSnapshotIdentifier
public final String finalSnapshotIdentifier()
The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
- Returns:
- The name of a final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the replication group is immediately deleted.
-
toBuilder
public DeleteReplicationGroupRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>
- Specified by:
toBuilder
in classElastiCacheRequest
-
builder
public static DeleteReplicationGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteReplicationGroupRequest.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
-
-