Interface UpdateConnectivityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConnectivityRequest.Builder,
,UpdateConnectivityRequest> KafkaRequest.Builder
,SdkBuilder<UpdateConnectivityRequest.Builder,
,UpdateConnectivityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConnectivityRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) The Amazon Resource Name (ARN) of the configuration.connectivityInfo
(Consumer<ConnectivityInfo.Builder> connectivityInfo) Information about the broker access configuration.connectivityInfo
(ConnectivityInfo connectivityInfo) Information about the broker access configuration.currentVersion
(String currentVersion) The version of the MSK cluster to update.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) of the configuration.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) of the configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivityInfo
Information about the broker access configuration.
- Parameters:
connectivityInfo
-Information about the broker access configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivityInfo
default UpdateConnectivityRequest.Builder connectivityInfo(Consumer<ConnectivityInfo.Builder> connectivityInfo) Information about the broker access configuration.
This is a convenience method that creates an instance of theConnectivityInfo.Builder
avoiding the need to create one manually viaConnectivityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectivityInfo(ConnectivityInfo)
.- Parameters:
connectivityInfo
- a consumer that will call methods onConnectivityInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentVersion
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
- Parameters:
currentVersion
-The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConnectivityRequest.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
UpdateConnectivityRequest.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.
-