Interface UpdateMultiRegionClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateMultiRegionClusterResponse.Builder,,UpdateMultiRegionClusterResponse> MemoryDbResponse.Builder,SdkBuilder<UpdateMultiRegionClusterResponse.Builder,,UpdateMultiRegionClusterResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateMultiRegionClusterResponse
@Mutable
@NotThreadSafe
public static interface UpdateMultiRegionClusterResponse.Builder
extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<UpdateMultiRegionClusterResponse.Builder,UpdateMultiRegionClusterResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmultiRegionCluster(Consumer<MultiRegionCluster.Builder> multiRegionCluster) The status of updating the multi-Region cluster.multiRegionCluster(MultiRegionCluster multiRegionCluster) The status of updating the multi-Region cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
multiRegionCluster
The status of updating the multi-Region cluster.
- Parameters:
multiRegionCluster- The status of updating the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegionCluster
default UpdateMultiRegionClusterResponse.Builder multiRegionCluster(Consumer<MultiRegionCluster.Builder> multiRegionCluster) The status of updating the multi-Region cluster.
This is a convenience method that creates an instance of theMultiRegionCluster.Builderavoiding the need to create one manually viaMultiRegionCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiRegionCluster(MultiRegionCluster).- Parameters:
multiRegionCluster- a consumer that will call methods onMultiRegionCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-