Interface DeleteReplicationGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteReplicationGroupResponse.Builder,,DeleteReplicationGroupResponse> ElastiCacheResponse.Builder,SdkBuilder<DeleteReplicationGroupResponse.Builder,,DeleteReplicationGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteReplicationGroupResponse
public static interface DeleteReplicationGroupResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DeleteReplicationGroupResponse.Builder,DeleteReplicationGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationGroup(Consumer<ReplicationGroup.Builder> replicationGroup) Sets the value of the ReplicationGroup property for this object.replicationGroup(ReplicationGroup replicationGroup) Sets the value of the ReplicationGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replicationGroup
Sets the value of the ReplicationGroup property for this object.- Parameters:
replicationGroup- The new value for the ReplicationGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
default DeleteReplicationGroupResponse.Builder replicationGroup(Consumer<ReplicationGroup.Builder> replicationGroup) Sets the value of the ReplicationGroup property for this object. This is a convenience method that creates an instance of theReplicationGroup.Builderavoiding the need to create one manually viaReplicationGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationGroup(ReplicationGroup).- Parameters:
replicationGroup- a consumer that will call methods onReplicationGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-