Interface UpdateConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConnectorRequest.Builder,
,UpdateConnectorRequest> KafkaConnectRequest.Builder
,SdkBuilder<UpdateConnectorRequest.Builder,
,UpdateConnectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConnectorRequest
@Mutable
@NotThreadSafe
public static interface UpdateConnectorRequest.Builder
extends KafkaConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectorRequest.Builder,UpdateConnectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateConnectorRequest.Builder
capacity
(Consumer<CapacityUpdate.Builder> capacity) The target capacity.capacity
(CapacityUpdate capacity) The target capacity.connectorArn
(String connectorArn) The Amazon Resource Name (ARN) of the connector that you want to update.connectorConfiguration
(Map<String, String> connectorConfiguration) A map of keys to values that represent the configuration for the connector.currentVersion
(String currentVersion) The current version of the connector that you want 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.kafkaconnect.model.KafkaConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacity
The target capacity.
- Parameters:
capacity
- The target capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
The target capacity.
This is a convenience method that creates an instance of theCapacityUpdate.Builder
avoiding the need to create one manually viaCapacityUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacity(CapacityUpdate)
.- Parameters:
capacity
- a consumer that will call methods onCapacityUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorConfiguration
A map of keys to values that represent the configuration for the connector.
- Parameters:
connectorConfiguration
- A map of keys to values that represent the configuration for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorArn
The Amazon Resource Name (ARN) of the connector that you want to update.
- Parameters:
connectorArn
- The Amazon Resource Name (ARN) of the connector that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The current version of the connector that you want to update.
- Parameters:
currentVersion
- The current version of the connector that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConnectorRequest.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
UpdateConnectorRequest.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.
-