Interface DescribeConnectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConnectorResponse.Builder,
,DescribeConnectorResponse> KafkaConnectResponse.Builder
,SdkBuilder<DescribeConnectorResponse.Builder,
,DescribeConnectorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConnectorResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapacity
(Consumer<CapacityDescription.Builder> capacity) Information about the capacity of the connector, whether it is auto scaled or provisioned.capacity
(CapacityDescription capacity) Information about the capacity of the connector, whether it is auto scaled or provisioned.connectorArn
(String connectorArn) The Amazon Resource Name (ARN) of the connector.connectorConfiguration
(Map<String, String> connectorConfiguration) A map of keys to values that represent the configuration for the connector.connectorDescription
(String connectorDescription) A summary 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 the connector was created.currentVersion
(String currentVersion) The current version of the connector.kafkaCluster
(Consumer<KafkaClusterDescription.Builder> kafkaCluster) The Apache Kafka cluster that the connector is connected to.kafkaCluster
(KafkaClusterDescription kafkaCluster) The Apache Kafka cluster that the connector is connected to.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.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.logDelivery
(Consumer<LogDeliveryDescription.Builder> logDelivery) Details about delivering logs to Amazon CloudWatch Logs.logDelivery
(LogDeliveryDescription logDelivery) Details about delivering 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.stateDescription
(Consumer<StateDescription.Builder> stateDescription) Details about the state of a connector.stateDescription
(StateDescription stateDescription) Details about the state of a connector.workerConfiguration
(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration) Specifies which worker configuration was used for the connector.workerConfiguration
(WorkerConfigurationDescription workerConfiguration) Specifies which worker configuration was used for the connector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafkaconnect.model.KafkaConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capacity
Information about the capacity of the connector, whether it is auto scaled or provisioned.
- Parameters:
capacity
- Information about the capacity of the connector, whether it is auto scaled or provisioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
Information about the capacity of the connector, whether it is auto scaled or provisioned.
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.
-
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
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
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 the connector was created.
- Parameters:
creationTime
- The time 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 Apache Kafka cluster that the connector is connected to.
- Parameters:
kafkaCluster
- The Apache Kafka cluster that the connector is connected to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaCluster
default DescribeConnectorResponse.Builder kafkaCluster(Consumer<KafkaClusterDescription.Builder> kafkaCluster) The Apache Kafka cluster that the connector is connected to.
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
DescribeConnectorResponse.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 DescribeConnectorResponse.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
DescribeConnectorResponse.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 DescribeConnectorResponse.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
Details about delivering logs to Amazon CloudWatch Logs.
- Parameters:
logDelivery
- Details about delivering logs to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDelivery
default DescribeConnectorResponse.Builder logDelivery(Consumer<LogDeliveryDescription.Builder> logDelivery) Details about delivering 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.
-
stateDescription
Details about the state of a connector.
- Parameters:
stateDescription
- Details about the state of a connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateDescription
default DescribeConnectorResponse.Builder stateDescription(Consumer<StateDescription.Builder> stateDescription) Details about the state of a connector.
This is a convenience method that creates an instance of theStateDescription.Builder
avoiding the need to create one manually viaStateDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateDescription(StateDescription)
.- Parameters:
stateDescription
- a consumer that will call methods onStateDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workerConfiguration
DescribeConnectorResponse.Builder workerConfiguration(WorkerConfigurationDescription workerConfiguration) Specifies which worker configuration was used for the connector.
- Parameters:
workerConfiguration
- Specifies which worker configuration was used for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfiguration
default DescribeConnectorResponse.Builder workerConfiguration(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration) Specifies which worker configuration was used for 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:
-