@Generated(value="software.amazon.awssdk:codegen") public final class CreateConnectorRequest extends KafkaConnectRequest implements ToCopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateConnectorRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateConnectorRequest.Builder |
builder() |
Capacity |
capacity()
Information about the capacity allocated to 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.
|
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.
|
KafkaCluster |
kafkaCluster()
Specifies which Apache Kafka cluster to connect to.
|
KafkaClusterClientAuthentication |
kafkaClusterClientAuthentication()
Details of the client authentication used by the Apache Kafka cluster.
|
KafkaClusterEncryptionInTransit |
kafkaClusterEncryptionInTransit()
Details of encryption in transit to the Apache Kafka cluster.
|
String |
kafkaConnectVersion()
The version of Kafka Connect.
|
LogDelivery |
logDelivery()
Details about log delivery.
|
List<Plugin> |
plugins()
Specifies which plugins to use for the connector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateConnectorRequest.Builder> |
serializableBuilderClass() |
String |
serviceExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources
that it needs.
|
CreateConnectorRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WorkerConfiguration |
workerConfiguration()
Specifies which worker configuration to use with the connector.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Capacity capacity()
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
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 KafkaCluster kafkaCluster()
Specifies which Apache Kafka cluster to connect to.
public final KafkaClusterClientAuthentication kafkaClusterClientAuthentication()
Details of the client authentication used by the Apache Kafka cluster.
public final KafkaClusterEncryptionInTransit 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 LogDelivery logDelivery()
Details about log delivery.
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<Plugin> plugins()
Specifies which plugins to use 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 hasPlugins() method.
public final String serviceExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.
public final WorkerConfiguration workerConfiguration()
Specifies which worker configuration to use with the connector.
public CreateConnectorRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>toBuilder in class KafkaConnectRequestpublic static CreateConnectorRequest.Builder builder()
public static Class<? extends CreateConnectorRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.