Interface BatchUpdateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateClusterRequest.Builder,
,BatchUpdateClusterRequest> MemoryDbRequest.Builder
,SdkBuilder<BatchUpdateClusterRequest.Builder,
,BatchUpdateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateClusterRequest
public static interface BatchUpdateClusterRequest.Builder
extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateClusterRequest.Builder,BatchUpdateClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterNames
(String... clusterNames) The cluster names to apply the updates.clusterNames
(Collection<String> clusterNames) The cluster names to apply the updates.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceUpdate
(Consumer<ServiceUpdateRequest.Builder> serviceUpdate) The unique ID of the service updateserviceUpdate
(ServiceUpdateRequest serviceUpdate) The unique ID of the service updateMethods 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.memorydb.model.MemoryDbRequest.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 Details
-
clusterNames
The cluster names to apply the updates.
- Parameters:
clusterNames
- The cluster names to apply the updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterNames
The cluster names to apply the updates.
- Parameters:
clusterNames
- The cluster names to apply the updates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceUpdate
The unique ID of the service update
- Parameters:
serviceUpdate
- The unique ID of the service update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceUpdate
default BatchUpdateClusterRequest.Builder serviceUpdate(Consumer<ServiceUpdateRequest.Builder> serviceUpdate) The unique ID of the service update
This is a convenience method that creates an instance of theServiceUpdateRequest.Builder
avoiding the need to create one manually viaServiceUpdateRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceUpdate(ServiceUpdateRequest)
.- Parameters:
serviceUpdate
- a consumer that will call methods onServiceUpdateRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-