Class CfnConnector.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnConnector.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector>
- Enclosing class:
CfnConnector
@Stability(Stable)
public static final class CfnConnector.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector>
A fluent builder for
CfnConnector
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
capacity
(IResolvable capacity) The connector's compute capacity settings.capacity
(CfnConnector.CapacityProperty capacity) The connector's compute capacity settings.connectorConfiguration
(Map<String, String> connectorConfiguration) The configuration of the connector.connectorConfiguration
(IResolvable connectorConfiguration) The configuration of the connector.connectorDescription
(String connectorDescription) The description of the connector.connectorName
(String connectorName) The name of the connector.static CfnConnector.Builder
kafkaCluster
(IResolvable kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.kafkaCluster
(CfnConnector.KafkaClusterProperty kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.kafkaClusterClientAuthentication
(IResolvable kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.kafkaClusterClientAuthentication
(CfnConnector.KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.kafkaClusterEncryptionInTransit
(IResolvable kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaClusterEncryptionInTransit
(CfnConnector.KafkaClusterEncryptionInTransitProperty kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaConnectVersion
(String kafkaConnectVersion) The version of Kafka Connect.logDelivery
(IResolvable logDelivery) The settings for delivering connector logs to Amazon CloudWatch Logs.logDelivery
(CfnConnector.LogDeliveryProperty logDelivery) The settings for delivering connector logs to Amazon CloudWatch Logs.Specifies which plugin to use for the connector.plugins
(IResolvable plugins) Specifies which plugin to use for the connector.serviceExecutionRoleArn
(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.A collection of tags associated with a resource.workerConfiguration
(IResolvable workerConfiguration) The worker configurations that are in use with the connector.workerConfiguration
(CfnConnector.WorkerConfigurationProperty workerConfiguration) The worker configurations that are in use with the connector.
-
Method Details
-
create
@Stability(Stable) public static CfnConnector.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnector.Builder
.
-
capacity
The connector's compute capacity settings.- Parameters:
capacity
- The connector's compute capacity settings. This parameter is required.- Returns:
this
- See Also:
-
capacity
The connector's compute capacity settings.- Parameters:
capacity
- The connector's compute capacity settings. This parameter is required.- Returns:
this
- See Also:
-
connectorConfiguration
@Stability(Stable) public CfnConnector.Builder connectorConfiguration(IResolvable connectorConfiguration) The configuration of the connector.- Parameters:
connectorConfiguration
- The configuration of the connector. This parameter is required.- Returns:
this
- See Also:
-
connectorConfiguration
@Stability(Stable) public CfnConnector.Builder connectorConfiguration(Map<String, String> connectorConfiguration) The configuration of the connector.- Parameters:
connectorConfiguration
- The configuration of the connector. This parameter is required.- Returns:
this
- See Also:
-
connectorName
The name of the connector.- Parameters:
connectorName
- The name of the connector. This parameter is required.- Returns:
this
- See Also:
-
kafkaCluster
The details of the Apache Kafka cluster to which the connector is connected.- Parameters:
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.- Returns:
this
- See Also:
-
kafkaCluster
@Stability(Stable) public CfnConnector.Builder kafkaCluster(CfnConnector.KafkaClusterProperty kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.- Parameters:
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusterClientAuthentication
@Stability(Stable) public CfnConnector.Builder kafkaClusterClientAuthentication(IResolvable kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.The value is NONE when no client authentication is used.
- Parameters:
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusterClientAuthentication
@Stability(Stable) public CfnConnector.Builder kafkaClusterClientAuthentication(CfnConnector.KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.The value is NONE when no client authentication is used.
- Parameters:
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusterEncryptionInTransit
@Stability(Stable) public CfnConnector.Builder kafkaClusterEncryptionInTransit(IResolvable kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.- Parameters:
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusterEncryptionInTransit
@Stability(Stable) public CfnConnector.Builder kafkaClusterEncryptionInTransit(CfnConnector.KafkaClusterEncryptionInTransitProperty kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.- Parameters:
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.- Returns:
this
- 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. This parameter is required.- Returns:
this
- See Also:
-
plugins
Specifies which plugin to use for the connector.You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.
- Parameters:
plugins
- Specifies which plugin to use for the connector. This parameter is required.- Returns:
this
- See Also:
-
plugins
Specifies which plugin to use for the connector.You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.
- Parameters:
plugins
- Specifies which plugin to use for the connector. This parameter is required.- Returns:
this
- See Also:
-
serviceExecutionRoleArn
@Stability(Stable) public CfnConnector.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.- Parameters:
serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. This parameter is required.- Returns:
this
- See Also:
-
connectorDescription
The description of the connector.- Parameters:
connectorDescription
- The description of the connector. This parameter is required.- Returns:
this
- See Also:
-
logDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs.- Parameters:
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs. This parameter is required.- Returns:
this
- See Also:
-
logDelivery
@Stability(Stable) public CfnConnector.Builder logDelivery(CfnConnector.LogDeliveryProperty logDelivery) The settings for delivering connector logs to Amazon CloudWatch Logs.- Parameters:
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs. This parameter is required.- Returns:
this
- See Also:
-
tags
A collection of tags associated with a resource.- Parameters:
tags
- A collection of tags associated with a resource. This parameter is required.- Returns:
this
- See Also:
-
workerConfiguration
The worker configurations that are in use with the connector.- Parameters:
workerConfiguration
- The worker configurations that are in use with the connector. This parameter is required.- Returns:
this
- See Also:
-
workerConfiguration
@Stability(Stable) public CfnConnector.Builder workerConfiguration(CfnConnector.WorkerConfigurationProperty workerConfiguration) The worker configurations that are in use with the connector.- Parameters:
workerConfiguration
- The worker configurations that are in use with the connector. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnector>
- Returns:
- a newly built instance of
CfnConnector
.
-