public class DeleteReplicationGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DeleteReplicationGroup action.
NOOP
Constructor and Description |
---|
DeleteReplicationGroupRequest() |
Modifier and Type | Method and 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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReplicationGroupId(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 String getReplicationGroupId()
The identifier for the cluster to be deleted. This parameter is not case sensitive.
public DeleteReplicationGroupRequest withReplicationGroupId(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(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 Boolean getRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
public DeleteReplicationGroupRequest withRetainPrimaryCluster(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 Boolean isRetainPrimaryCluster()
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public DeleteReplicationGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.