public static final class CfnConnector.Builder
extends java.lang.Object
CfnConnector
.Modifier and Type | Method and Description |
---|---|
CfnConnector |
build() |
CfnConnector.Builder |
capacity(CfnConnector.CapacityProperty capacity)
The connector's compute capacity settings.
|
CfnConnector.Builder |
capacity(IResolvable capacity)
The connector's compute capacity settings.
|
CfnConnector.Builder |
connectorConfiguration(IResolvable connectorConfiguration)
The configuration of the connector.
|
CfnConnector.Builder |
connectorConfiguration(java.util.Map<java.lang.String,java.lang.String> connectorConfiguration)
The configuration of the connector.
|
CfnConnector.Builder |
connectorDescription(java.lang.String connectorDescription)
The description of the connector.
|
CfnConnector.Builder |
connectorName(java.lang.String connectorName)
The name of the connector.
|
static CfnConnector.Builder |
create(Construct scope,
java.lang.String id) |
CfnConnector.Builder |
kafkaCluster(CfnConnector.KafkaClusterProperty kafkaCluster)
The details of the Apache Kafka cluster to which the connector is connected.
|
CfnConnector.Builder |
kafkaCluster(IResolvable kafkaCluster)
The details of the Apache Kafka cluster to which the connector is connected.
|
CfnConnector.Builder |
kafkaClusterClientAuthentication(CfnConnector.KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthentication)
The type of client authentication used to connect to the Apache Kafka cluster.
|
CfnConnector.Builder |
kafkaClusterClientAuthentication(IResolvable kafkaClusterClientAuthentication)
The type of client authentication used to connect to the Apache Kafka cluster.
|
CfnConnector.Builder |
kafkaClusterEncryptionInTransit(CfnConnector.KafkaClusterEncryptionInTransitProperty kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
|
CfnConnector.Builder |
kafkaClusterEncryptionInTransit(IResolvable kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
|
CfnConnector.Builder |
kafkaConnectVersion(java.lang.String kafkaConnectVersion)
The version of Kafka Connect.
|
CfnConnector.Builder |
logDelivery(CfnConnector.LogDeliveryProperty logDelivery)
The settings for delivering connector logs to Amazon CloudWatch Logs.
|
CfnConnector.Builder |
logDelivery(IResolvable logDelivery)
The settings for delivering connector logs to Amazon CloudWatch Logs.
|
CfnConnector.Builder |
plugins(IResolvable plugins)
Specifies which plugin to use for the connector.
|
CfnConnector.Builder |
plugins(java.util.List<? extends java.lang.Object> plugins)
Specifies which plugin to use for the connector.
|
CfnConnector.Builder |
serviceExecutionRoleArn(java.lang.String serviceExecutionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
|
CfnConnector.Builder |
workerConfiguration(CfnConnector.WorkerConfigurationProperty workerConfiguration)
The worker configurations that are in use with the connector.
|
CfnConnector.Builder |
workerConfiguration(IResolvable workerConfiguration)
The worker configurations that are in use with the connector.
|
public static CfnConnector.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnConnector.ApacheKafkaClusterProperty.Builder
.public CfnConnector.Builder capacity(CfnConnector.CapacityProperty capacity)
capacity
- The connector's compute capacity settings. This parameter is required.this
public CfnConnector.Builder capacity(IResolvable capacity)
capacity
- The connector's compute capacity settings. This parameter is required.this
public CfnConnector.Builder connectorConfiguration(IResolvable connectorConfiguration)
connectorConfiguration
- The configuration of the connector. This parameter is required.this
public CfnConnector.Builder connectorConfiguration(java.util.Map<java.lang.String,java.lang.String> connectorConfiguration)
connectorConfiguration
- The configuration of the connector. This parameter is required.this
public CfnConnector.Builder connectorName(java.lang.String connectorName)
connectorName
- The name of the connector. This parameter is required.this
public CfnConnector.Builder kafkaCluster(IResolvable kafkaCluster)
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.this
public CfnConnector.Builder kafkaCluster(CfnConnector.KafkaClusterProperty kafkaCluster)
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.this
public CfnConnector.Builder kafkaClusterClientAuthentication(IResolvable kafkaClusterClientAuthentication)
The value is NONE when no client authentication is used.
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.this
public CfnConnector.Builder kafkaClusterClientAuthentication(CfnConnector.KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthentication)
The value is NONE when no client authentication is used.
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.this
public CfnConnector.Builder kafkaClusterEncryptionInTransit(IResolvable kafkaClusterEncryptionInTransit)
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.this
public CfnConnector.Builder kafkaClusterEncryptionInTransit(CfnConnector.KafkaClusterEncryptionInTransitProperty kafkaClusterEncryptionInTransit)
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.this
public CfnConnector.Builder kafkaConnectVersion(java.lang.String kafkaConnectVersion)
It has to be compatible with both the Apache Kafka cluster's version and the plugins.
kafkaConnectVersion
- The version of Kafka Connect. This parameter is required.this
public CfnConnector.Builder plugins(IResolvable plugins)
You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.
plugins
- Specifies which plugin to use for the connector. This parameter is required.this
public CfnConnector.Builder plugins(java.util.List<? extends java.lang.Object> plugins)
You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.
plugins
- Specifies which plugin to use for the connector. This parameter is required.this
public CfnConnector.Builder serviceExecutionRoleArn(java.lang.String serviceExecutionRoleArn)
serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources. This parameter is required.this
public CfnConnector.Builder connectorDescription(java.lang.String connectorDescription)
connectorDescription
- The description of the connector. This parameter is required.this
public CfnConnector.Builder logDelivery(IResolvable logDelivery)
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs. This parameter is required.this
public CfnConnector.Builder logDelivery(CfnConnector.LogDeliveryProperty logDelivery)
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs. This parameter is required.this
public CfnConnector.Builder workerConfiguration(IResolvable workerConfiguration)
workerConfiguration
- The worker configurations that are in use with the connector. This parameter is required.this
public CfnConnector.Builder workerConfiguration(CfnConnector.WorkerConfigurationProperty workerConfiguration)
workerConfiguration
- The worker configurations that are in use with the connector. This parameter is required.this
public CfnConnector build()