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
Modifier and TypeMethodDescriptionfinalSnapshotIdentifier(String finalSnapshotIdentifier) The name of a final node group (shard) snapshot.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicationGroupId(String replicationGroupId) The identifier for the cluster to be deleted.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteReplicationGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-