Interface ConnectorSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorSummary.Builder,ConnectorSummary>,SdkBuilder<ConnectorSummary.Builder,ConnectorSummary>,SdkPojo
- Enclosing class:
- ConnectorSummary
public static interface ConnectorSummary.Builder extends SdkPojo, CopyableBuilder<ConnectorSummary.Builder,ConnectorSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConnectorSummary.Buildercapacity(Consumer<CapacityDescription.Builder> capacity)The connector's compute capacity settings.ConnectorSummary.Buildercapacity(CapacityDescription capacity)The connector's compute capacity settings.ConnectorSummary.BuilderconnectorArn(String connectorArn)The Amazon Resource Name (ARN) of the connector.ConnectorSummary.BuilderconnectorDescription(String connectorDescription)The description of the connector.ConnectorSummary.BuilderconnectorName(String connectorName)The name of the connector.ConnectorSummary.BuilderconnectorState(String connectorState)The state of the connector.ConnectorSummary.BuilderconnectorState(ConnectorState connectorState)The state of the connector.ConnectorSummary.BuildercreationTime(Instant creationTime)The time that the connector was created.ConnectorSummary.BuildercurrentVersion(String currentVersion)The current version of the connector.default ConnectorSummary.BuilderkafkaCluster(Consumer<KafkaClusterDescription.Builder> kafkaCluster)The details of the Apache Kafka cluster to which the connector is connected.ConnectorSummary.BuilderkafkaCluster(KafkaClusterDescription kafkaCluster)The details of the Apache Kafka cluster to which the connector is connected.default ConnectorSummary.BuilderkafkaClusterClientAuthentication(Consumer<KafkaClusterClientAuthenticationDescription.Builder> kafkaClusterClientAuthentication)The type of client authentication used to connect to the Apache Kafka cluster.ConnectorSummary.BuilderkafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription kafkaClusterClientAuthentication)The type of client authentication used to connect to the Apache Kafka cluster.default ConnectorSummary.BuilderkafkaClusterEncryptionInTransit(Consumer<KafkaClusterEncryptionInTransitDescription.Builder> kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.ConnectorSummary.BuilderkafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.ConnectorSummary.BuilderkafkaConnectVersion(String kafkaConnectVersion)The version of Kafka Connect.default ConnectorSummary.BuilderlogDelivery(Consumer<LogDeliveryDescription.Builder> logDelivery)The settings for delivering connector logs to Amazon CloudWatch Logs.ConnectorSummary.BuilderlogDelivery(LogDeliveryDescription logDelivery)The settings for delivering connector logs to Amazon CloudWatch Logs.ConnectorSummary.Builderplugins(Collection<PluginDescription> plugins)Specifies which plugins were used for this connector.ConnectorSummary.Builderplugins(Consumer<PluginDescription.Builder>... plugins)Specifies which plugins were used for this connector.ConnectorSummary.Builderplugins(PluginDescription... plugins)Specifies which plugins were used for this connector.ConnectorSummary.BuilderserviceExecutionRoleArn(String serviceExecutionRoleArn)The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.default ConnectorSummary.BuilderworkerConfiguration(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration)The worker configurations that are in use with the connector.ConnectorSummary.BuilderworkerConfiguration(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 Detail
-
capacity
ConnectorSummary.Builder capacity(CapacityDescription 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
default ConnectorSummary.Builder capacity(Consumer<CapacityDescription.Builder> capacity)
The connector's compute capacity settings.
This is a convenience method that creates an instance of theCapacityDescription.Builderavoiding the need to create one manually viaCapacityDescription.builder().When the
Consumercompletes,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:
capacity(CapacityDescription)
-
connectorArn
ConnectorSummary.Builder connectorArn(String 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
ConnectorSummary.Builder connectorDescription(String 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
ConnectorSummary.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.
-
connectorState
ConnectorSummary.Builder connectorState(String 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,ConnectorState
-
connectorState
ConnectorSummary.Builder connectorState(ConnectorState 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,ConnectorState
-
creationTime
ConnectorSummary.Builder creationTime(Instant 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
ConnectorSummary.Builder currentVersion(String 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
ConnectorSummary.Builder kafkaCluster(KafkaClusterDescription 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.Builderavoiding the need to create one manually viaKafkaClusterDescription.builder().When the
Consumercompletes,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:
kafkaCluster(KafkaClusterDescription)
-
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.Builderavoiding the need to create one manually viaKafkaClusterClientAuthenticationDescription.builder().When the
Consumercompletes,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:
kafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription)
-
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.Builderavoiding the need to create one manually viaKafkaClusterEncryptionInTransitDescription.builder().When the
Consumercompletes,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:
kafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription)
-
kafkaConnectVersion
ConnectorSummary.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
ConnectorSummary.Builder logDelivery(LogDeliveryDescription 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
default ConnectorSummary.Builder logDelivery(Consumer<LogDeliveryDescription.Builder> logDelivery)
The settings for delivering connector logs to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theLogDeliveryDescription.Builderavoiding the need to create one manually viaLogDeliveryDescription.builder().When the
Consumercompletes,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:
logDelivery(LogDeliveryDescription)
-
plugins
ConnectorSummary.Builder plugins(Collection<PluginDescription> 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
ConnectorSummary.Builder plugins(PluginDescription... 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
ConnectorSummary.Builder plugins(Consumer<PluginDescription.Builder>... plugins)
Specifies which plugins were used for this connector.
This is a convenience method that creates an instance of thePluginDescription.Builderavoiding the need to create one manually viaPluginDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#plugins(List.) - 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:
#plugins(java.util.Collection)
-
serviceExecutionRoleArn
ConnectorSummary.Builder serviceExecutionRoleArn(String 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
ConnectorSummary.Builder workerConfiguration(WorkerConfigurationDescription 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.Builderavoiding the need to create one manually viaWorkerConfigurationDescription.builder().When the
Consumercompletes,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:
workerConfiguration(WorkerConfigurationDescription)
-
-