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.Buildercapacity(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafkaconnect.model.KafkaConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaCapacityUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-