Interface DeleteReplicationGroupRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>, ElastiCacheRequest.Builder, SdkBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteReplicationGroupRequest

public static interface DeleteReplicationGroupRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<DeleteReplicationGroupRequest.Builder,DeleteReplicationGroupRequest>
  • Method Details

    • replicationGroupId

      DeleteReplicationGroupRequest.Builder replicationGroupId(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.
    • retainPrimaryCluster

      DeleteReplicationGroupRequest.Builder retainPrimaryCluster(Boolean retainPrimaryCluster)

      If set to true, all of the read replicas are deleted, but the primary node is retained.

      Parameters:
      retainPrimaryCluster - If set to true, all of the read replicas are deleted, but the primary node is retained.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • finalSnapshotIdentifier

      DeleteReplicationGroupRequest.Builder finalSnapshotIdentifier(String finalSnapshotIdentifier)

      The name of a final node group (shard) 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 replication group is immediately deleted.

      Parameters:
      finalSnapshotIdentifier - The name of a final node group (shard) 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 replication group is immediately deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteReplicationGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.