Interface CreateConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateConnectorRequest.Builder,
,CreateConnectorRequest> KafkaConnectRequest.Builder
,SdkBuilder<CreateConnectorRequest.Builder,
,CreateConnectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConnectorRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateConnectorRequest.Builder
capacity
(Consumer<Capacity.Builder> capacity) Information about the capacity allocated to the connector.Information about the capacity allocated to the connector.connectorConfiguration
(Map<String, String> connectorConfiguration) A map of keys to values that represent the configuration for the connector.connectorDescription
(String connectorDescription) A summary description of the connector.connectorName
(String connectorName) The name of the connector.default CreateConnectorRequest.Builder
kafkaCluster
(Consumer<KafkaCluster.Builder> kafkaCluster) Specifies which Apache Kafka cluster to connect to.kafkaCluster
(KafkaCluster kafkaCluster) Specifies which Apache Kafka cluster to connect to.default CreateConnectorRequest.Builder
kafkaClusterClientAuthentication
(Consumer<KafkaClusterClientAuthentication.Builder> kafkaClusterClientAuthentication) Details of the client authentication used by the Apache Kafka cluster.kafkaClusterClientAuthentication
(KafkaClusterClientAuthentication kafkaClusterClientAuthentication) Details of the client authentication used by the Apache Kafka cluster.default CreateConnectorRequest.Builder
kafkaClusterEncryptionInTransit
(Consumer<KafkaClusterEncryptionInTransit.Builder> kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaClusterEncryptionInTransit
(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaConnectVersion
(String kafkaConnectVersion) The version of Kafka Connect.default CreateConnectorRequest.Builder
logDelivery
(Consumer<LogDelivery.Builder> logDelivery) Details about log delivery.logDelivery
(LogDelivery logDelivery) Details about log delivery.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.plugins
(Collection<Plugin> plugins) plugins
(Consumer<Plugin.Builder>... plugins) serviceExecutionRoleArn
(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs.The tags you want to attach to the connector.default CreateConnectorRequest.Builder
workerConfiguration
(Consumer<WorkerConfiguration.Builder> workerConfiguration) Specifies which worker configuration to use with the connector.workerConfiguration
(WorkerConfiguration workerConfiguration) Specifies which worker configuration to use with the connector.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, sdkFields
-
Method Details
-
capacity
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
- Parameters:
capacity
- Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
This is a convenience method that creates an instance of theCapacity.Builder
avoiding the need to create one manually viaCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacity(Capacity)
.- Parameters:
capacity
- a consumer that will call methods onCapacity.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.
-
connectorDescription
A summary description of the connector.
- Parameters:
connectorDescription
- A summary description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorName
The name of the connector.
- Parameters:
connectorName
- The name of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaCluster
Specifies which Apache Kafka cluster to connect to.
- Parameters:
kafkaCluster
- Specifies which Apache Kafka cluster to connect to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaCluster
Specifies which Apache Kafka cluster to connect to.
This is a convenience method that creates an instance of theKafkaCluster.Builder
avoiding the need to create one manually viaKafkaCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaCluster(KafkaCluster)
.- Parameters:
kafkaCluster
- a consumer that will call methods onKafkaCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaClusterClientAuthentication
CreateConnectorRequest.Builder kafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication) Details of the client authentication used by the Apache Kafka cluster.
- Parameters:
kafkaClusterClientAuthentication
- Details of the client authentication used by the Apache Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusterClientAuthentication
default CreateConnectorRequest.Builder kafkaClusterClientAuthentication(Consumer<KafkaClusterClientAuthentication.Builder> kafkaClusterClientAuthentication) Details of the client authentication used by the Apache Kafka cluster.
This is a convenience method that creates an instance of theKafkaClusterClientAuthentication.Builder
avoiding the need to create one manually viaKafkaClusterClientAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusterClientAuthentication(KafkaClusterClientAuthentication)
.- Parameters:
kafkaClusterClientAuthentication
- a consumer that will call methods onKafkaClusterClientAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaClusterEncryptionInTransit
CreateConnectorRequest.Builder kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.
- Parameters:
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusterEncryptionInTransit
default CreateConnectorRequest.Builder kafkaClusterEncryptionInTransit(Consumer<KafkaClusterEncryptionInTransit.Builder> kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.
This is a convenience method that creates an instance of theKafkaClusterEncryptionInTransit.Builder
avoiding the need to create one manually viaKafkaClusterEncryptionInTransit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit)
.- Parameters:
kafkaClusterEncryptionInTransit
- a consumer that will call methods onKafkaClusterEncryptionInTransit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaConnectVersion
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
- Parameters:
kafkaConnectVersion
- The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDelivery
Details about log delivery.
- Parameters:
logDelivery
- Details about log delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDelivery
Details about log delivery.
This is a convenience method that creates an instance of theLogDelivery.Builder
avoiding the need to create one manually viaLogDelivery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologDelivery(LogDelivery)
.- Parameters:
logDelivery
- a consumer that will call methods onLogDelivery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plugins
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.- Parameters:
plugins
-Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.- Parameters:
plugins
-Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
This is a convenience method that creates an instance of thecustomPlugin
object.Plugin.Builder
avoiding the need to create one manually viaPlugin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplugins(List<Plugin>)
.- Parameters:
plugins
- a consumer that will call methods onPlugin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.
- Parameters:
serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags you want to attach to the connector.
- Parameters:
tags
- The tags you want to attach to the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfiguration
Specifies which worker configuration to use with the connector.
- Parameters:
workerConfiguration
- Specifies which worker configuration to use with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfiguration
default CreateConnectorRequest.Builder workerConfiguration(Consumer<WorkerConfiguration.Builder> workerConfiguration) Specifies which worker configuration to use with the connector.
This is a convenience method that creates an instance of theWorkerConfiguration.Builder
avoiding the need to create one manually viaWorkerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkerConfiguration(WorkerConfiguration)
.- Parameters:
workerConfiguration
- a consumer that will call methods onWorkerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectorRequest.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
CreateConnectorRequest.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.
-