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:
  • Constructor Details

    • DeleteReplicationGroupRequest

      public DeleteReplicationGroupRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: