Interface CreateConnectorRequest.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 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

        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 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

        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 customPlugin object.

        This is a convenience method that creates an instance of the Plugin.Builder avoiding the need to create one manually via Plugin.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #plugins(List).

        Parameters:
        plugins - a consumer that will call methods on Plugin.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.
      • 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.