Interface UpdateClusterConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterConfigurationRequest.Builder,
,UpdateClusterConfigurationRequest> KafkaRequest.Builder
,SdkBuilder<UpdateClusterConfigurationRequest.Builder,
,UpdateClusterConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterConfigurationRequest
public static interface UpdateClusterConfigurationRequest.Builder
extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterConfigurationRequest.Builder,UpdateClusterConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.configurationInfo
(Consumer<ConfigurationInfo.Builder> configurationInfo) Represents the configuration that you want MSK to use for the brokers in a cluster.configurationInfo
(ConfigurationInfo configurationInfo) Represents the configuration that you want MSK to use for the brokers in a cluster.currentVersion
(String currentVersion) The version of the cluster that needs to be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods 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.kafka.model.KafkaRequest.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
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
Represents the configuration that you want MSK to use for the brokers in a cluster.
- Parameters:
configurationInfo
-Represents the configuration that you want MSK to use for the brokers in a cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
default UpdateClusterConfigurationRequest.Builder configurationInfo(Consumer<ConfigurationInfo.Builder> configurationInfo) Represents the configuration that you want MSK to use for the brokers in a cluster.
This is a convenience method that creates an instance of theConfigurationInfo.Builder
avoiding the need to create one manually viaConfigurationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationInfo(ConfigurationInfo)
.- Parameters:
configurationInfo
- a consumer that will call methods onConfigurationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentVersion
The version of the cluster that needs to be updated.
- Parameters:
currentVersion
-The version of the cluster that needs to be updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateClusterConfigurationRequest.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
UpdateClusterConfigurationRequest.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.
-