Interface CreateConnectorRequest.Builder

  • Method Details

    • 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

      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 the Capacity.Builder avoiding the need to create one manually via Capacity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capacity(Capacity).

      Parameters:
      capacity - a consumer that will call methods on Capacity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the KafkaCluster.Builder avoiding the need to create one manually via KafkaCluster.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kafkaCluster(KafkaCluster).

      Parameters:
      kafkaCluster - a consumer that will call methods on KafkaCluster.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the KafkaClusterClientAuthentication.Builder avoiding the need to create one manually via KafkaClusterClientAuthentication.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kafkaClusterClientAuthentication(KafkaClusterClientAuthentication).

      Parameters:
      kafkaClusterClientAuthentication - a consumer that will call methods on KafkaClusterClientAuthentication.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the KafkaClusterEncryptionInTransit.Builder avoiding the need to create one manually via KafkaClusterEncryptionInTransit.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit).

      Parameters:
      kafkaClusterEncryptionInTransit - a consumer that will call methods on KafkaClusterEncryptionInTransit.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the LogDelivery.Builder avoiding the need to create one manually via LogDelivery.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logDelivery(LogDelivery).

      Parameters:
      logDelivery - a consumer that will call methods on LogDelivery.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkType

      CreateConnectorRequest.Builder networkType(String networkType)

      The network type of the connector. It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.

      Parameters:
      networkType - The network type of the connector. It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkType

      CreateConnectorRequest.Builder networkType(NetworkType networkType)

      The network type of the connector. It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.

      Parameters:
      networkType - The network type of the connector. It gives connectors connectivity to either IPv4 (IPV4) or IPv4 and IPv6 (DUAL) destinations. Defaults to IPV4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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<Plugin>).

      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:
    • 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 the WorkerConfiguration.Builder avoiding the need to create one manually via WorkerConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workerConfiguration(WorkerConfiguration).

      Parameters:
      workerConfiguration - a consumer that will call methods on WorkerConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.