Interface UpdateClusterKafkaVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterKafkaVersionRequest.Builder,
,UpdateClusterKafkaVersionRequest> KafkaRequest.Builder
,SdkBuilder<UpdateClusterKafkaVersionRequest.Builder,
,UpdateClusterKafkaVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterKafkaVersionRequest
public static interface UpdateClusterKafkaVersionRequest.Builder
extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterKafkaVersionRequest.Builder,UpdateClusterKafkaVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) of the cluster to be updated.configurationInfo
(Consumer<ConfigurationInfo.Builder> configurationInfo) The custom configuration that should be applied on the new version of cluster.configurationInfo
(ConfigurationInfo configurationInfo) The custom configuration that should be applied on the new version of cluster.currentVersion
(String currentVersion) Current cluster version.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetKafkaVersion
(String targetKafkaVersion) Target Kafka version.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) of the cluster to be updated.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) of the cluster to be updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
The custom configuration that should be applied on the new version of cluster.
- Parameters:
configurationInfo
-The custom configuration that should be applied on the new version of cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
default UpdateClusterKafkaVersionRequest.Builder configurationInfo(Consumer<ConfigurationInfo.Builder> configurationInfo) The custom configuration that should be applied on the new version of 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
Current cluster version.
- Parameters:
currentVersion
-Current cluster version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetKafkaVersion
Target Kafka version.
- Parameters:
targetKafkaVersion
-Target Kafka version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateClusterKafkaVersionRequest.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
UpdateClusterKafkaVersionRequest.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.
-