@Generated(value="software.amazon.awssdk:codegen") public final class DescribeConnectorResponse extends KafkaConnectResponse implements ToCopyableBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeConnectorResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeConnectorResponse.Builder |
builder() |
CapacityDescription |
capacity()
Information about the capacity of the connector, whether it is auto scaled or provisioned.
|
String |
connectorArn()
The Amazon Resource Name (ARN) of the connector.
|
Map<String,String> |
connectorConfiguration()
A map of keys to values that represent the configuration for the connector.
|
String |
connectorDescription()
A summary description of the connector.
|
String |
connectorName()
The name of the connector.
|
ConnectorState |
connectorState()
The state of the connector.
|
String |
connectorStateAsString()
The state of the connector.
|
Instant |
creationTime()
The time the connector was created.
|
String |
currentVersion()
The current version of the connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConnectorConfiguration()
For responses, this returns true if the service returned a value for the ConnectorConfiguration property.
|
int |
hashCode() |
boolean |
hasPlugins()
For responses, this returns true if the service returned a value for the Plugins property.
|
KafkaClusterDescription |
kafkaCluster()
The Apache Kafka cluster that the connector is connected to.
|
KafkaClusterClientAuthenticationDescription |
kafkaClusterClientAuthentication()
The type of client authentication used to connect to the Apache Kafka cluster.
|
KafkaClusterEncryptionInTransitDescription |
kafkaClusterEncryptionInTransit()
Details of encryption in transit to the Apache Kafka cluster.
|
String |
kafkaConnectVersion()
The version of Kafka Connect.
|
LogDeliveryDescription |
logDelivery()
Details about delivering logs to Amazon CloudWatch Logs.
|
List<PluginDescription> |
plugins()
Specifies which plugins were used for this connector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeConnectorResponse.Builder> |
serializableBuilderClass() |
String |
serviceExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
|
StateDescription |
stateDescription()
Details about the state of a connector.
|
DescribeConnectorResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WorkerConfigurationDescription |
workerConfiguration()
Specifies which worker configuration was used for the connector.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CapacityDescription capacity()
Information about the capacity of the connector, whether it is auto scaled or provisioned.
public final String connectorArn()
The Amazon Resource Name (ARN) of the connector.
public final boolean hasConnectorConfiguration()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,String> connectorConfiguration()
A map of keys to values that represent the configuration for the connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasConnectorConfiguration() method.
public final String connectorDescription()
A summary description of the connector.
public final String connectorName()
The name of the connector.
public final ConnectorState connectorState()
The state of the connector.
If the service returns an enum value that is not available in the current SDK version, connectorState
will return ConnectorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectorStateAsString().
ConnectorStatepublic final String connectorStateAsString()
The state of the connector.
If the service returns an enum value that is not available in the current SDK version, connectorState
will return ConnectorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectorStateAsString().
ConnectorStatepublic final Instant creationTime()
The time the connector was created.
public final String currentVersion()
The current version of the connector.
public final KafkaClusterDescription kafkaCluster()
The Apache Kafka cluster that the connector is connected to.
public final 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.
public final KafkaClusterEncryptionInTransitDescription kafkaClusterEncryptionInTransit()
Details of encryption in transit to the Apache Kafka cluster.
public final String kafkaConnectVersion()
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
public final LogDeliveryDescription logDelivery()
Details about delivering logs to Amazon CloudWatch Logs.
public final boolean hasPlugins()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<PluginDescription> plugins()
Specifies which plugins were used for this connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPlugins() method.
public final String serviceExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.
public final StateDescription stateDescription()
Details about the state of a connector.
public final WorkerConfigurationDescription workerConfiguration()
Specifies which worker configuration was used for the connector.
public DescribeConnectorResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>toBuilder in class AwsResponsepublic static DescribeConnectorResponse.Builder builder()
public static Class<? extends DescribeConnectorResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.