Interface ConnectorSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectorSummary.Builder,
,ConnectorSummary> SdkBuilder<ConnectorSummary.Builder,
,ConnectorSummary> SdkPojo
- Enclosing class:
ConnectorSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectorSummary.Builder
capacity
(Consumer<CapacityDescription.Builder> capacity) The connector's compute capacity settings.capacity
(CapacityDescription capacity) The connector's compute capacity settings.connectorArn
(String connectorArn) The Amazon Resource Name (ARN) of the connector.connectorDescription
(String connectorDescription) The description of the connector.connectorName
(String connectorName) The name of the connector.connectorState
(String connectorState) The state of the connector.connectorState
(ConnectorState connectorState) The state of the connector.creationTime
(Instant creationTime) The time that the connector was created.currentVersion
(String currentVersion) The current version of the connector.default ConnectorSummary.Builder
kafkaCluster
(Consumer<KafkaClusterDescription.Builder> kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.kafkaCluster
(KafkaClusterDescription kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.default ConnectorSummary.Builder
kafkaClusterClientAuthentication
(Consumer<KafkaClusterClientAuthenticationDescription.Builder> kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.kafkaClusterClientAuthentication
(KafkaClusterClientAuthenticationDescription kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster.default ConnectorSummary.Builder
kafkaClusterEncryptionInTransit
(Consumer<KafkaClusterEncryptionInTransitDescription.Builder> kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaClusterEncryptionInTransit
(KafkaClusterEncryptionInTransitDescription kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.kafkaConnectVersion
(String kafkaConnectVersion) The version of Kafka Connect.default ConnectorSummary.Builder
logDelivery
(Consumer<LogDeliveryDescription.Builder> logDelivery) The settings for delivering connector logs to Amazon CloudWatch Logs.logDelivery
(LogDeliveryDescription logDelivery) The settings for delivering connector logs to Amazon CloudWatch Logs.plugins
(Collection<PluginDescription> plugins) Specifies which plugins were used for this connector.plugins
(Consumer<PluginDescription.Builder>... plugins) Specifies which plugins were used for this connector.plugins
(PluginDescription... plugins) Specifies which plugins were used for this connector.serviceExecutionRoleArn
(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.default ConnectorSummary.Builder
workerConfiguration
(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration) The worker configurations that are in use with the connector.workerConfiguration
(WorkerConfigurationDescription workerConfiguration) The worker configurations that are in use with the connector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
capacity
The connector's compute capacity settings.
- Parameters:
capacity
- The connector's compute capacity settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
The connector's compute capacity settings.
This is a convenience method that creates an instance of theCapacityDescription.Builder
avoiding the need to create one manually viaCapacityDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacity(CapacityDescription)
.- Parameters:
capacity
- a consumer that will call methods onCapacityDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorArn
The Amazon Resource Name (ARN) of the connector.
- Parameters:
connectorArn
- The Amazon Resource Name (ARN) of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorDescription
The description of the connector.
- Parameters:
connectorDescription
- The description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
connectorState
The state of the connector.
- Parameters:
connectorState
- The state of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorState
The state of the connector.
- Parameters:
connectorState
- The state of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time that the connector was created.
- Parameters:
creationTime
- The time that the connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The current version of the connector.
- Parameters:
currentVersion
- The current version of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaCluster
default ConnectorSummary.Builder kafkaCluster(Consumer<KafkaClusterDescription.Builder> kafkaCluster) The details of the Apache Kafka cluster to which the connector is connected.
This is a convenience method that creates an instance of theKafkaClusterDescription.Builder
avoiding the need to create one manually viaKafkaClusterDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaCluster(KafkaClusterDescription)
.- Parameters:
kafkaCluster
- a consumer that will call methods onKafkaClusterDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaClusterClientAuthentication
ConnectorSummary.Builder kafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription 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. The value is NONE when no client authentication is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusterClientAuthentication
default ConnectorSummary.Builder kafkaClusterClientAuthentication(Consumer<KafkaClusterClientAuthenticationDescription.Builder> kafkaClusterClientAuthentication) The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.
This is a convenience method that creates an instance of theKafkaClusterClientAuthenticationDescription.Builder
avoiding the need to create one manually viaKafkaClusterClientAuthenticationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription)
.- Parameters:
kafkaClusterClientAuthentication
- a consumer that will call methods onKafkaClusterClientAuthenticationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaClusterEncryptionInTransit
ConnectorSummary.Builder kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription 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 ConnectorSummary.Builder kafkaClusterEncryptionInTransit(Consumer<KafkaClusterEncryptionInTransitDescription.Builder> kafkaClusterEncryptionInTransit) Details of encryption in transit to the Apache Kafka cluster.
This is a convenience method that creates an instance of theKafkaClusterEncryptionInTransitDescription.Builder
avoiding the need to create one manually viaKafkaClusterEncryptionInTransitDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription)
.- Parameters:
kafkaClusterEncryptionInTransit
- a consumer that will call methods onKafkaClusterEncryptionInTransitDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. 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
The settings for delivering connector logs to Amazon CloudWatch Logs.
- Parameters:
logDelivery
- The settings for delivering connector logs to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDelivery
The settings for delivering connector logs to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theLogDeliveryDescription.Builder
avoiding the need to create one manually viaLogDeliveryDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologDelivery(LogDeliveryDescription)
.- Parameters:
logDelivery
- a consumer that will call methods onLogDeliveryDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plugins
Specifies which plugins were used for this connector.
- Parameters:
plugins
- Specifies which plugins were used for this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
Specifies which plugins were used for this connector.
- Parameters:
plugins
- Specifies which plugins were used for this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plugins
Specifies which plugins were used for this connector.
This is a convenience method that creates an instance of thePluginDescription.Builder
avoiding the need to create one manually viaPluginDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplugins(List<PluginDescription>)
.- Parameters:
plugins
- a consumer that will call methods onPluginDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfiguration
The worker configurations that are in use with the connector.
- Parameters:
workerConfiguration
- The worker configurations that are in use with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfiguration
default ConnectorSummary.Builder workerConfiguration(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration) The worker configurations that are in use with the connector.
This is a convenience method that creates an instance of theWorkerConfigurationDescription.Builder
avoiding the need to create one manually viaWorkerConfigurationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkerConfiguration(WorkerConfigurationDescription)
.- Parameters:
workerConfiguration
- a consumer that will call methods onWorkerConfigurationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-