Interface BatchUpdateClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateClusterResponse.Builder,
,BatchUpdateClusterResponse> MemoryDbResponse.Builder
,SdkBuilder<BatchUpdateClusterResponse.Builder,
,BatchUpdateClusterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateClusterResponse
public static interface BatchUpdateClusterResponse.Builder
extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateClusterResponse.Builder,BatchUpdateClusterResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprocessedClusters
(Collection<Cluster> processedClusters) The list of clusters that have been updated.processedClusters
(Consumer<Cluster.Builder>... processedClusters) The list of clusters that have been updated.processedClusters
(Cluster... processedClusters) The list of clusters that have been updated.unprocessedClusters
(Collection<UnprocessedCluster> unprocessedClusters) The list of clusters where updates have not been applied.unprocessedClusters
(Consumer<UnprocessedCluster.Builder>... unprocessedClusters) The list of clusters where updates have not been applied.unprocessedClusters
(UnprocessedCluster... unprocessedClusters) The list of clusters where updates have not been applied.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
processedClusters
The list of clusters that have been updated.
- Parameters:
processedClusters
- The list of clusters that have been updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedClusters
The list of clusters that have been updated.
- Parameters:
processedClusters
- The list of clusters that have been updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedClusters
BatchUpdateClusterResponse.Builder processedClusters(Consumer<Cluster.Builder>... processedClusters) The list of clusters that have been updated.
This is a convenience method that creates an instance of theCluster.Builder
avoiding the need to create one manually viaCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessedClusters(List<Cluster>)
.- Parameters:
processedClusters
- a consumer that will call methods onCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unprocessedClusters
BatchUpdateClusterResponse.Builder unprocessedClusters(Collection<UnprocessedCluster> unprocessedClusters) The list of clusters where updates have not been applied.
- Parameters:
unprocessedClusters
- The list of clusters where updates have not been applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedClusters
The list of clusters where updates have not been applied.
- Parameters:
unprocessedClusters
- The list of clusters where updates have not been applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedClusters
BatchUpdateClusterResponse.Builder unprocessedClusters(Consumer<UnprocessedCluster.Builder>... unprocessedClusters) The list of clusters where updates have not been applied.
This is a convenience method that creates an instance of theUnprocessedCluster.Builder
avoiding the need to create one manually viaUnprocessedCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounprocessedClusters(List<UnprocessedCluster>)
.- Parameters:
unprocessedClusters
- a consumer that will call methods onUnprocessedCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-