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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbRequest.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
-
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.Builderavoiding the need to create one manually viaServiceUpdateRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-