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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteReplicationGroupRequest.Builder
finalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final node group (shard) snapshot.DeleteReplicationGroupRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DeleteReplicationGroupRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DeleteReplicationGroupRequest.Builder
replicationGroupId(String replicationGroupId)
The identifier for the cluster to be deleted.DeleteReplicationGroupRequest.Builder
retainPrimaryCluster(Boolean retainPrimaryCluster)
If set totrue
, all of the read replicas are deleted, but the primary node is retained.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 totrue
, 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteReplicationGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-