public static final class CfnConnectorProps.Builder
extends java.lang.Object
CfnConnectorProps
Constructor and Description |
---|
Builder() |
public CfnConnectorProps.Builder capacity(CfnConnector.CapacityProperty capacity)
CfnConnectorProps.getCapacity()
capacity
- The connector's compute capacity settings. This parameter is required.this
public CfnConnectorProps.Builder capacity(IResolvable capacity)
CfnConnectorProps.getCapacity()
capacity
- The connector's compute capacity settings. This parameter is required.this
public CfnConnectorProps.Builder connectorConfiguration(IResolvable connectorConfiguration)
CfnConnectorProps.getConnectorConfiguration()
connectorConfiguration
- The configuration of the connector. This parameter is required.this
public CfnConnectorProps.Builder connectorConfiguration(java.util.Map<java.lang.String,java.lang.String> connectorConfiguration)
CfnConnectorProps.getConnectorConfiguration()
connectorConfiguration
- The configuration of the connector. This parameter is required.this
public CfnConnectorProps.Builder connectorName(java.lang.String connectorName)
CfnConnectorProps.getConnectorName()
connectorName
- The name of the connector. This parameter is required.this
public CfnConnectorProps.Builder kafkaCluster(IResolvable kafkaCluster)
CfnConnectorProps.getKafkaCluster()
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.this
public CfnConnectorProps.Builder kafkaCluster(CfnConnector.KafkaClusterProperty kafkaCluster)
CfnConnectorProps.getKafkaCluster()
kafkaCluster
- The details of the Apache Kafka cluster to which the connector is connected. This parameter is required.this
public CfnConnectorProps.Builder kafkaClusterClientAuthentication(IResolvable kafkaClusterClientAuthentication)
CfnConnectorProps.getKafkaClusterClientAuthentication()
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.
The value is NONE when no client authentication is used.this
public CfnConnectorProps.Builder kafkaClusterClientAuthentication(CfnConnector.KafkaClusterClientAuthenticationProperty kafkaClusterClientAuthentication)
CfnConnectorProps.getKafkaClusterClientAuthentication()
kafkaClusterClientAuthentication
- The type of client authentication used to connect to the Apache Kafka cluster. This parameter is required.
The value is NONE when no client authentication is used.this
public CfnConnectorProps.Builder kafkaClusterEncryptionInTransit(IResolvable kafkaClusterEncryptionInTransit)
CfnConnectorProps.getKafkaClusterEncryptionInTransit()
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.this
public CfnConnectorProps.Builder kafkaClusterEncryptionInTransit(CfnConnector.KafkaClusterEncryptionInTransitProperty kafkaClusterEncryptionInTransit)
CfnConnectorProps.getKafkaClusterEncryptionInTransit()
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster. This parameter is required.this
public CfnConnectorProps.Builder kafkaConnectVersion(java.lang.String kafkaConnectVersion)
CfnConnectorProps.getKafkaConnectVersion()
kafkaConnectVersion
- The version of Kafka Connect. This parameter is required.
It has to be compatible with both the Apache Kafka cluster's version and the plugins.this
public CfnConnectorProps.Builder plugins(IResolvable plugins)
CfnConnectorProps.getPlugins()
plugins
- Specifies which plugin to use for the connector. This parameter is required.
You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.this
public CfnConnectorProps.Builder plugins(java.util.List<? extends java.lang.Object> plugins)
CfnConnectorProps.getPlugins()
plugins
- Specifies which plugin to use for the connector. This parameter is required.
You must specify a single-element list. Amazon MSK Connect does not currently support specifying multiple plugins.this
public CfnConnectorProps.Builder serviceExecutionRoleArn(java.lang.String serviceExecutionRoleArn)
CfnConnectorProps.getServiceExecutionRoleArn()
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 CfnConnectorProps.Builder connectorDescription(java.lang.String connectorDescription)
CfnConnectorProps.getConnectorDescription()
connectorDescription
- The description of the connector.this
public CfnConnectorProps.Builder logDelivery(IResolvable logDelivery)
CfnConnectorProps.getLogDelivery()
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs.this
public CfnConnectorProps.Builder logDelivery(CfnConnector.LogDeliveryProperty logDelivery)
CfnConnectorProps.getLogDelivery()
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs.this
public CfnConnectorProps.Builder workerConfiguration(IResolvable workerConfiguration)
CfnConnectorProps.getWorkerConfiguration()
workerConfiguration
- The worker configurations that are in use with the connector.this
public CfnConnectorProps.Builder workerConfiguration(CfnConnector.WorkerConfigurationProperty workerConfiguration)
CfnConnectorProps.getWorkerConfiguration()
workerConfiguration
- The worker configurations that are in use with the connector.this
public CfnConnectorProps build()
CfnConnectorProps
java.lang.NullPointerException
- if any required attribute was not provided