public class DeleteReplicationGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a DeleteReplicationGroup action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
finalSnapshotIdentifier
The name of a final node group snapshot.
|
private java.lang.String |
replicationGroupId
The identifier for the cluster to be deleted.
|
private java.lang.Boolean |
retainPrimaryCluster
If set to true, all of the read replicas will be deleted, but the
primary node will be retained.
|
NOOP
Constructor and Description |
---|
DeleteReplicationGroupRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteReplicationGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFinalSnapshotIdentifier()
The name of a final node group snapshot.
|
java.lang.String |
getReplicationGroupId()
The identifier for the cluster to be deleted.
|
java.lang.Boolean |
getRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the
primary node will be retained.
|
int |
hashCode() |
java.lang.Boolean |
isRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the
primary node will be retained.
|
void |
setFinalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)
The name of a final node group snapshot.
|
void |
setReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the cluster to be deleted.
|
void |
setRetainPrimaryCluster(java.lang.Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the
primary node will be retained.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteReplicationGroupRequest |
withFinalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)
The name of a final node group snapshot.
|
DeleteReplicationGroupRequest |
withReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the cluster to be deleted.
|
DeleteReplicationGroupRequest |
withRetainPrimaryCluster(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String replicationGroupId
The identifier for the cluster to be deleted. This parameter is not case sensitive.
private java.lang.Boolean retainPrimaryCluster
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
private java.lang.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.
public void setReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the cluster to be deleted. This parameter is not case sensitive.
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is
not case sensitive.public java.lang.String getReplicationGroupId()
The identifier for the cluster to be deleted. This parameter is not case sensitive.
public DeleteReplicationGroupRequest withReplicationGroupId(java.lang.String replicationGroupId)
The identifier for the cluster to be deleted. This parameter is not case sensitive.
replicationGroupId
- The identifier for the cluster to be deleted. This parameter is
not case sensitive.public void setRetainPrimaryCluster(java.lang.Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted,
but the primary node will be retained.public java.lang.Boolean getRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
public DeleteReplicationGroupRequest withRetainPrimaryCluster(java.lang.Boolean retainPrimaryCluster)
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
retainPrimaryCluster
- If set to true, all of the read replicas will be deleted,
but the primary node will be retained.public java.lang.Boolean isRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
public void setFinalSnapshotIdentifier(java.lang.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.
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 java.lang.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.
public DeleteReplicationGroupRequest withFinalSnapshotIdentifier(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteReplicationGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()