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
-
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 Detail
-
clusterArn
UpdateClusterKafkaVersionRequest.Builder clusterArn(String 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
UpdateClusterKafkaVersionRequest.Builder configurationInfo(ConfigurationInfo 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:
configurationInfo(ConfigurationInfo)
-
currentVersion
UpdateClusterKafkaVersionRequest.Builder currentVersion(String 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
UpdateClusterKafkaVersionRequest.Builder targetKafkaVersion(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterKafkaVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-