public static interface UpdateClusterKafkaVersionRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterKafkaVersionRequest.Builder,UpdateClusterKafkaVersionRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateClusterKafkaVersionRequest.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster to be updated.
clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
UpdateClusterKafkaVersionRequest.Builder configurationInfo(ConfigurationInfo configurationInfo)
The custom configuration that should be applied on the new version of cluster.
configurationInfo
- The custom configuration that should be applied on the new version of cluster.
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 that creates an instance of theConfigurationInfo.Builder
avoiding the need to
create one manually via ConfigurationInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to configurationInfo(ConfigurationInfo)
.configurationInfo
- a consumer that will call methods on ConfigurationInfo.Builder
configurationInfo(ConfigurationInfo)
UpdateClusterKafkaVersionRequest.Builder currentVersion(String currentVersion)
Current cluster version.
currentVersion
- Current cluster version.
UpdateClusterKafkaVersionRequest.Builder targetKafkaVersion(String targetKafkaVersion)
Target Kafka version.
targetKafkaVersion
- Target Kafka version.
UpdateClusterKafkaVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateClusterKafkaVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.