@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConnectorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConnectorRequest |
addConnectorConfigurationEntry(String key,
String value)
Add a single ConnectorConfiguration entry
|
CreateConnectorRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateConnectorRequest |
clearConnectorConfigurationEntries()
Removes all the entries added into ConnectorConfiguration.
|
CreateConnectorRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateConnectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Capacity |
getCapacity()
Information about the capacity allocated to the connector.
|
Map<String,String> |
getConnectorConfiguration()
A map of keys to values that represent the configuration for the connector.
|
String |
getConnectorDescription()
A summary description of the connector.
|
String |
getConnectorName()
The name of the connector.
|
KafkaCluster |
getKafkaCluster()
Specifies which Apache Kafka cluster to connect to.
|
KafkaClusterClientAuthentication |
getKafkaClusterClientAuthentication()
Details of the client authentication used by the Apache Kafka cluster.
|
KafkaClusterEncryptionInTransit |
getKafkaClusterEncryptionInTransit()
Details of encryption in transit to the Apache Kafka cluster.
|
String |
getKafkaConnectVersion()
The version of Kafka Connect.
|
LogDelivery |
getLogDelivery()
Details about log delivery.
|
List<Plugin> |
getPlugins()
|
String |
getServiceExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources
that it needs.
|
Map<String,String> |
getTags()
The tags you want to attach to the connector.
|
WorkerConfiguration |
getWorkerConfiguration()
Specifies which worker configuration to use with the connector.
|
int |
hashCode() |
void |
setCapacity(Capacity capacity)
Information about the capacity allocated to the connector.
|
void |
setConnectorConfiguration(Map<String,String> connectorConfiguration)
A map of keys to values that represent the configuration for the connector.
|
void |
setConnectorDescription(String connectorDescription)
A summary description of the connector.
|
void |
setConnectorName(String connectorName)
The name of the connector.
|
void |
setKafkaCluster(KafkaCluster kafkaCluster)
Specifies which Apache Kafka cluster to connect to.
|
void |
setKafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication)
Details of the client authentication used by the Apache Kafka cluster.
|
void |
setKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
|
void |
setKafkaConnectVersion(String kafkaConnectVersion)
The version of Kafka Connect.
|
void |
setLogDelivery(LogDelivery logDelivery)
Details about log delivery.
|
void |
setPlugins(Collection<Plugin> plugins)
|
void |
setServiceExecutionRoleArn(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.
|
void |
setTags(Map<String,String> tags)
The tags you want to attach to the connector.
|
void |
setWorkerConfiguration(WorkerConfiguration workerConfiguration)
Specifies which worker configuration to use with the connector.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectorRequest |
withCapacity(Capacity capacity)
Information about the capacity allocated to the connector.
|
CreateConnectorRequest |
withConnectorConfiguration(Map<String,String> connectorConfiguration)
A map of keys to values that represent the configuration for the connector.
|
CreateConnectorRequest |
withConnectorDescription(String connectorDescription)
A summary description of the connector.
|
CreateConnectorRequest |
withConnectorName(String connectorName)
The name of the connector.
|
CreateConnectorRequest |
withKafkaCluster(KafkaCluster kafkaCluster)
Specifies which Apache Kafka cluster to connect to.
|
CreateConnectorRequest |
withKafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication)
Details of the client authentication used by the Apache Kafka cluster.
|
CreateConnectorRequest |
withKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
|
CreateConnectorRequest |
withKafkaConnectVersion(String kafkaConnectVersion)
The version of Kafka Connect.
|
CreateConnectorRequest |
withLogDelivery(LogDelivery logDelivery)
Details about log delivery.
|
CreateConnectorRequest |
withPlugins(Collection<Plugin> plugins)
|
CreateConnectorRequest |
withPlugins(Plugin... plugins)
|
CreateConnectorRequest |
withServiceExecutionRoleArn(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 |
withTags(Map<String,String> tags)
The tags you want to attach to the connector.
|
CreateConnectorRequest |
withWorkerConfiguration(WorkerConfiguration workerConfiguration)
Specifies which worker configuration to use with the connector.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCapacity(Capacity capacity)
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
capacity
- Information about the capacity allocated to the connector. Exactly one of the two properties must be
specified.public Capacity getCapacity()
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
public CreateConnectorRequest withCapacity(Capacity capacity)
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
capacity
- Information about the capacity allocated to the connector. Exactly one of the two properties must be
specified.public Map<String,String> getConnectorConfiguration()
A map of keys to values that represent the configuration for the connector.
public void setConnectorConfiguration(Map<String,String> connectorConfiguration)
A map of keys to values that represent the configuration for the connector.
connectorConfiguration
- A map of keys to values that represent the configuration for the connector.public CreateConnectorRequest withConnectorConfiguration(Map<String,String> connectorConfiguration)
A map of keys to values that represent the configuration for the connector.
connectorConfiguration
- A map of keys to values that represent the configuration for the connector.public CreateConnectorRequest addConnectorConfigurationEntry(String key, String value)
public CreateConnectorRequest clearConnectorConfigurationEntries()
public void setConnectorDescription(String connectorDescription)
A summary description of the connector.
connectorDescription
- A summary description of the connector.public String getConnectorDescription()
A summary description of the connector.
public CreateConnectorRequest withConnectorDescription(String connectorDescription)
A summary description of the connector.
connectorDescription
- A summary description of the connector.public void setConnectorName(String connectorName)
The name of the connector.
connectorName
- The name of the connector.public String getConnectorName()
The name of the connector.
public CreateConnectorRequest withConnectorName(String connectorName)
The name of the connector.
connectorName
- The name of the connector.public void setKafkaCluster(KafkaCluster kafkaCluster)
Specifies which Apache Kafka cluster to connect to.
kafkaCluster
- Specifies which Apache Kafka cluster to connect to.public KafkaCluster getKafkaCluster()
Specifies which Apache Kafka cluster to connect to.
public CreateConnectorRequest withKafkaCluster(KafkaCluster kafkaCluster)
Specifies which Apache Kafka cluster to connect to.
kafkaCluster
- Specifies which Apache Kafka cluster to connect to.public void setKafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication)
Details of the client authentication used by the Apache Kafka cluster.
kafkaClusterClientAuthentication
- Details of the client authentication used by the Apache Kafka cluster.public KafkaClusterClientAuthentication getKafkaClusterClientAuthentication()
Details of the client authentication used by the Apache Kafka cluster.
public CreateConnectorRequest withKafkaClusterClientAuthentication(KafkaClusterClientAuthentication kafkaClusterClientAuthentication)
Details of the client authentication used by the Apache Kafka cluster.
kafkaClusterClientAuthentication
- Details of the client authentication used by the Apache Kafka cluster.public void setKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster.public KafkaClusterEncryptionInTransit getKafkaClusterEncryptionInTransit()
Details of encryption in transit to the Apache Kafka cluster.
public CreateConnectorRequest withKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)
Details of encryption in transit to the Apache Kafka cluster.
kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster.public void setKafkaConnectVersion(String kafkaConnectVersion)
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
kafkaConnectVersion
- The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the
plugins.public String getKafkaConnectVersion()
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
public CreateConnectorRequest withKafkaConnectVersion(String kafkaConnectVersion)
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
kafkaConnectVersion
- The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the
plugins.public void setLogDelivery(LogDelivery logDelivery)
Details about log delivery.
logDelivery
- Details about log delivery.public LogDelivery getLogDelivery()
Details about log delivery.
public CreateConnectorRequest withLogDelivery(LogDelivery logDelivery)
Details about log delivery.
logDelivery
- Details about log delivery.public List<Plugin> getPlugins()
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
public void setPlugins(Collection<Plugin> plugins)
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
plugins
- Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
public CreateConnectorRequest withPlugins(Plugin... plugins)
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
NOTE: This method appends the values to the existing list (if any). Use
setPlugins(java.util.Collection)
or withPlugins(java.util.Collection)
if you want to override
the existing values.
plugins
- Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
public CreateConnectorRequest withPlugins(Collection<Plugin> plugins)
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
plugins
- Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.
Specifies which plugin to use for the connector. You must specify a single-element list containing one
customPlugin
object.
public void setServiceExecutionRoleArn(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.
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 String getServiceExecutionRoleArn()
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 CreateConnectorRequest withServiceExecutionRoleArn(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.
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 Map<String,String> getTags()
The tags you want to attach to the connector.
public void setTags(Map<String,String> tags)
The tags you want to attach to the connector.
tags
- The tags you want to attach to the connector.public CreateConnectorRequest withTags(Map<String,String> tags)
The tags you want to attach to the connector.
tags
- The tags you want to attach to the connector.public CreateConnectorRequest addTagsEntry(String key, String value)
public CreateConnectorRequest clearTagsEntries()
public void setWorkerConfiguration(WorkerConfiguration workerConfiguration)
Specifies which worker configuration to use with the connector.
workerConfiguration
- Specifies which worker configuration to use with the connector.public WorkerConfiguration getWorkerConfiguration()
Specifies which worker configuration to use with the connector.
public CreateConnectorRequest withWorkerConfiguration(WorkerConfiguration workerConfiguration)
Specifies which worker configuration to use with the connector.
workerConfiguration
- Specifies which worker configuration to use with the connector.public String toString()
toString
in class Object
Object.toString()
public CreateConnectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()