Class DeleteReplicationGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.DeleteReplicationGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteReplicationGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DeleteReplicationGroup action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteReplicationGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteReplicationGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getFinalSnapshotIdentifier()
The name of a final node group snapshot.String
getReplicationGroupId()
The identifier for the cluster to be deleted.Boolean
getRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.int
hashCode()
Boolean
isRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.void
setFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final node group snapshot.void
setReplicationGroupId(String replicationGroupId)
The identifier for the cluster to be deleted.void
setRetainPrimaryCluster(Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeleteReplicationGroupRequest
withFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final node group snapshot.DeleteReplicationGroupRequest
withReplicationGroupId(String replicationGroupId)
The identifier for the cluster to be deleted.DeleteReplicationGroupRequest
withRetainPrimaryCluster(Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setReplicationGroupId
public void setReplicationGroupId(String replicationGroupId)
The identifier for the cluster to be deleted. This parameter is not case sensitive.
- Parameters:
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is not case sensitive.
-
getReplicationGroupId
public String getReplicationGroupId()
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.
-
withReplicationGroupId
public DeleteReplicationGroupRequest withReplicationGroupId(String replicationGroupId)
The identifier for the cluster to be deleted. This parameter is not case sensitive.
- Parameters:
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is not case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetainPrimaryCluster
public void setRetainPrimaryCluster(Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
- Parameters:
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted, but the primary node will be retained.
-
getRetainPrimaryCluster
public Boolean getRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
- Returns:
- If set to true, all of the read replicas will be deleted, but the primary node will be retained.
-
withRetainPrimaryCluster
public DeleteReplicationGroupRequest withRetainPrimaryCluster(Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
- Parameters:
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted, but the primary node will be retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRetainPrimaryCluster
public Boolean isRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
- Returns:
- If set to true, all of the read replicas will be deleted, but the primary node will be retained.
-
setFinalSnapshotIdentifier
public void setFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final node group 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 cluster is immediately deleted.
- Parameters:
finalSnapshotIdentifier
- The name of a final node group 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 cluster is immediately deleted.
-
getFinalSnapshotIdentifier
public String getFinalSnapshotIdentifier()
The name of a final node group 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 cluster is immediately deleted.
- Returns:
- The name of a final node group 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 cluster is immediately deleted.
-
withFinalSnapshotIdentifier
public DeleteReplicationGroupRequest withFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final node group 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 cluster is immediately deleted.
- Parameters:
finalSnapshotIdentifier
- The name of a final node group 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 cluster is immediately deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteReplicationGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-