Interface DescribeConnectorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>,KafkaConnectResponse.Builder,SdkBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeConnectorResponse
public static interface DescribeConnectorResponse.Builder extends KafkaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeConnectorResponse.Buildercapacity(Consumer<CapacityDescription.Builder> capacity)Information about the capacity of the connector, whether it is auto scaled or provisioned.DescribeConnectorResponse.Buildercapacity(CapacityDescription capacity)Information about the capacity of the connector, whether it is auto scaled or provisioned.DescribeConnectorResponse.BuilderconnectorArn(String connectorArn)The Amazon Resource Name (ARN) of the connector.DescribeConnectorResponse.BuilderconnectorConfiguration(Map<String,String> connectorConfiguration)A map of keys to values that represent the configuration for the connector.DescribeConnectorResponse.BuilderconnectorDescription(String connectorDescription)A summary description of the connector.DescribeConnectorResponse.BuilderconnectorName(String connectorName)The name of the connector.DescribeConnectorResponse.BuilderconnectorState(String connectorState)The state of the connector.DescribeConnectorResponse.BuilderconnectorState(ConnectorState connectorState)The state of the connector.DescribeConnectorResponse.BuildercreationTime(Instant creationTime)The time the connector was created.DescribeConnectorResponse.BuildercurrentVersion(String currentVersion)The current version of the connector.default DescribeConnectorResponse.BuilderkafkaCluster(Consumer<KafkaClusterDescription.Builder> kafkaCluster)The Apache Kafka cluster that the connector is connected to.DescribeConnectorResponse.BuilderkafkaCluster(KafkaClusterDescription kafkaCluster)The Apache Kafka cluster that the connector is connected to.default DescribeConnectorResponse.BuilderkafkaClusterClientAuthentication(Consumer<KafkaClusterClientAuthenticationDescription.Builder> kafkaClusterClientAuthentication)The type of client authentication used to connect to the Apache Kafka cluster.DescribeConnectorResponse.BuilderkafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription kafkaClusterClientAuthentication)The type of client authentication used to connect to the Apache Kafka cluster.default DescribeConnectorResponse.BuilderkafkaClusterEncryptionInTransit(Consumer<KafkaClusterEncryptionInTransitDescription.Builder> kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.DescribeConnectorResponse.BuilderkafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription kafkaClusterEncryptionInTransit)Details of encryption in transit to the Apache Kafka cluster.DescribeConnectorResponse.BuilderkafkaConnectVersion(String kafkaConnectVersion)The version of Kafka Connect.default DescribeConnectorResponse.BuilderlogDelivery(Consumer<LogDeliveryDescription.Builder> logDelivery)Details about delivering logs to Amazon CloudWatch Logs.DescribeConnectorResponse.BuilderlogDelivery(LogDeliveryDescription logDelivery)Details about delivering logs to Amazon CloudWatch Logs.DescribeConnectorResponse.Builderplugins(Collection<PluginDescription> plugins)Specifies which plugins were used for this connector.DescribeConnectorResponse.Builderplugins(Consumer<PluginDescription.Builder>... plugins)Specifies which plugins were used for this connector.DescribeConnectorResponse.Builderplugins(PluginDescription... plugins)Specifies which plugins were used for this connector.DescribeConnectorResponse.BuilderserviceExecutionRoleArn(String serviceExecutionRoleArn)The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.default DescribeConnectorResponse.BuilderstateDescription(Consumer<StateDescription.Builder> stateDescription)Details about the state of a connector.DescribeConnectorResponse.BuilderstateDescription(StateDescription stateDescription)Details about the state of a connector.default DescribeConnectorResponse.BuilderworkerConfiguration(Consumer<WorkerConfigurationDescription.Builder> workerConfiguration)Specifies which worker configuration was used for the connector.DescribeConnectorResponse.BuilderworkerConfiguration(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 Detail
-
capacity
DescribeConnectorResponse.Builder capacity(CapacityDescription 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
default DescribeConnectorResponse.Builder capacity(Consumer<CapacityDescription.Builder> 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.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
DescribeConnectorResponse.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.
-
connectorConfiguration
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.Builder creationTime(Instant 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
DescribeConnectorResponse.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
DescribeConnectorResponse.Builder kafkaCluster(KafkaClusterDescription 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.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
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.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
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.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
DescribeConnectorResponse.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
DescribeConnectorResponse.Builder logDelivery(LogDeliveryDescription 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.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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
DescribeConnectorResponse.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.
-
stateDescription
DescribeConnectorResponse.Builder stateDescription(StateDescription 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.Builderavoiding the need to create one manually viaStateDescription.builder().When the
Consumercompletes,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:
stateDescription(StateDescription)
-
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.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)
-
-