Interface CreateConnectorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>,KafkaConnectRequest.Builder,SdkBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateConnectorRequest
public static interface CreateConnectorRequest.Builder extends KafkaConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateConnectorRequest.Buildercapacity(Consumer<Capacity.Builder> capacity)Information about the capacity allocated to the connector.CreateConnectorRequest.Buildercapacity(Capacity capacity)Information about the capacity allocated to the connector.CreateConnectorRequest.BuilderconnectorConfiguration(Map<String,String> connectorConfiguration)A map of keys to values that represent the configuration for the connector.CreateConnectorRequest.BuilderconnectorDescription(String connectorDescription)A summary description of the connector.CreateConnectorRequest.BuilderconnectorName(String connectorName)The name of the connector.default CreateConnectorRequest.BuilderkafkaCluster(Consumer<KafkaCluster.Builder> kafkaCluster)Specifies which Apache Kafka cluster to connect to.CreateConnectorRequest.BuilderkafkaCluster(KafkaCluster kafkaCluster)Specifies which Apache Kafka cluster to connect to.default CreateConnectorRequest.BuilderkafkaClusterClientAuthentication(Consumer<KafkaClusterClientAuthentication.Builder> kafkaClusterClientAuthentication)Details of the client authentication used by the Apache Kafka cluster.CreateConnectorRequest.BuilderkafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication)Details of the client authentication used by the Apache Kafka cluster.default CreateConnectorRequest.BuilderkafkaClusterEncryptionInTransit(Consumer<KafkaClusterEncryptionInTransit.Builder> kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.CreateConnectorRequest.BuilderkafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.CreateConnectorRequest.BuilderkafkaConnectVersion(String kafkaConnectVersion)The version of Kafka Connect.default CreateConnectorRequest.BuilderlogDelivery(Consumer<LogDelivery.Builder> logDelivery)Details about log delivery.CreateConnectorRequest.BuilderlogDelivery(LogDelivery logDelivery)Details about log delivery.CreateConnectorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateConnectorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateConnectorRequest.Builderplugins(Collection<Plugin> plugins)CreateConnectorRequest.Builderplugins(Consumer<Plugin.Builder>... plugins)CreateConnectorRequest.Builderplugins(Plugin... plugins)CreateConnectorRequest.BuilderserviceExecutionRoleArn(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.CreateConnectorRequest.Buildertags(Map<String,String> tags)The tags you want to attach to the connector.default CreateConnectorRequest.BuilderworkerConfiguration(Consumer<WorkerConfiguration.Builder> workerConfiguration)Specifies which worker configuration to use with the connector.CreateConnectorRequest.BuilderworkerConfiguration(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
capacity
CreateConnectorRequest.Builder capacity(Capacity 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
default CreateConnectorRequest.Builder capacity(Consumer<Capacity.Builder> 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.Builderavoiding the need to create one manually viaCapacity.builder().When the
Consumercompletes,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:
capacity(Capacity)
-
connectorConfiguration
CreateConnectorRequest.Builder connectorConfiguration(Map<String,String> 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
CreateConnectorRequest.Builder connectorDescription(String 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
CreateConnectorRequest.Builder connectorName(String 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
CreateConnectorRequest.Builder kafkaCluster(KafkaCluster 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
default CreateConnectorRequest.Builder kafkaCluster(Consumer<KafkaCluster.Builder> kafkaCluster)
Specifies which Apache Kafka cluster to connect to.
This is a convenience method that creates an instance of theKafkaCluster.Builderavoiding the need to create one manually viaKafkaCluster.builder().When the
Consumercompletes,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:
kafkaCluster(KafkaCluster)
-
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.Builderavoiding the need to create one manually viaKafkaClusterClientAuthentication.builder().When the
Consumercompletes,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:
kafkaClusterClientAuthentication(KafkaClusterClientAuthentication)
-
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.Builderavoiding the need to create one manually viaKafkaClusterEncryptionInTransit.builder().When the
Consumercompletes,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:
kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit)
-
kafkaConnectVersion
CreateConnectorRequest.Builder kafkaConnectVersion(String 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
CreateConnectorRequest.Builder logDelivery(LogDelivery 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
default CreateConnectorRequest.Builder logDelivery(Consumer<LogDelivery.Builder> logDelivery)
Details about log delivery.
This is a convenience method that creates an instance of theLogDelivery.Builderavoiding the need to create one manually viaLogDelivery.builder().When the
Consumercompletes,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:
logDelivery(LogDelivery)
-
plugins
CreateConnectorRequest.Builder plugins(Collection<Plugin> 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
customPluginobject.- 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
customPluginobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
CreateConnectorRequest.Builder plugins(Plugin... 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
customPluginobject.- 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
customPluginobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
CreateConnectorRequest.Builder plugins(Consumer<Plugin.Builder>... 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 thecustomPluginobject.Plugin.Builderavoiding the need to create one manually viaPlugin.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#plugins(List.) - 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:
#plugins(java.util.Collection)
-
serviceExecutionRoleArn
CreateConnectorRequest.Builder 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 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.
-
workerConfiguration
CreateConnectorRequest.Builder workerConfiguration(WorkerConfiguration 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.Builderavoiding the need to create one manually viaWorkerConfiguration.builder().When the
Consumercompletes,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:
workerConfiguration(WorkerConfiguration)
-
tags
CreateConnectorRequest.Builder tags(Map<String,String> 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.
-
overrideConfiguration
CreateConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-