Class DeleteReplicationGroupRequest

    • Constructor Detail

      • DeleteReplicationGroupRequest

        public DeleteReplicationGroupRequest()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object