public class DeleteReplicationGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteReplicationGroup operation
.
The DeleteReplicationGroup action deletes an existing replication group. By default, this action deletes the entire replication group, including the primary cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cluster.
When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this action.
NOOP
Constructor and Description |
---|
DeleteReplicationGroupRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteReplicationGroupRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getReplicationGroupId()
public void setReplicationGroupId(String replicationGroupId)
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is not
case sensitive.public DeleteReplicationGroupRequest withReplicationGroupId(String replicationGroupId)
Returns a reference to this object so that method calls can be chained together.
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is not
case sensitive.public Boolean isRetainPrimaryCluster()
public void setRetainPrimaryCluster(Boolean retainPrimaryCluster)
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted, but
the primary node will be retained.public DeleteReplicationGroupRequest withRetainPrimaryCluster(Boolean retainPrimaryCluster)
Returns a reference to this object so that method calls can be chained together.
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted, but
the primary node will be retained.public Boolean getRetainPrimaryCluster()
public String getFinalSnapshotIdentifier()
public void setFinalSnapshotIdentifier(String finalSnapshotIdentifier)
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.public DeleteReplicationGroupRequest withFinalSnapshotIdentifier(String finalSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
public DeleteReplicationGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.