@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KafkaSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that describes an Apache Kafka endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information.
Constructor and Description |
---|
KafkaSettings() |
Modifier and Type | Method and Description |
---|---|
KafkaSettings |
clone() |
boolean |
equals(Object obj) |
String |
getBroker()
The broker location and port of the Kafka broker that hosts your Kafka instance.
|
String |
getTopic()
The topic to which you migrate the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBroker(String broker)
The broker location and port of the Kafka broker that hosts your Kafka instance.
|
void |
setTopic(String topic)
The topic to which you migrate the data.
|
String |
toString()
Returns a string representation of this object.
|
KafkaSettings |
withBroker(String broker)
The broker location and port of the Kafka broker that hosts your Kafka instance.
|
KafkaSettings |
withTopic(String topic)
The topic to which you migrate the data.
|
public void setBroker(String broker)
The broker location and port of the Kafka broker that hosts your Kafka instance. Specify the broker in the form
broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.
broker
- The broker location and port of the Kafka broker that hosts your Kafka instance. Specify the broker in the
form broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.public String getBroker()
The broker location and port of the Kafka broker that hosts your Kafka instance. Specify the broker in the form
broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.
broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.public KafkaSettings withBroker(String broker)
The broker location and port of the Kafka broker that hosts your Kafka instance. Specify the broker in the form
broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.
broker
- The broker location and port of the Kafka broker that hosts your Kafka instance. Specify the broker in the
form broker-hostname-or-ip:port
. For example,
"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.public void setTopic(String topic)
The topic to which you migrate the data. If you don't specify a topic, AWS DMS specifies
"kafka-default-topic"
as the migration topic.
topic
- The topic to which you migrate the data. If you don't specify a topic, AWS DMS specifies
"kafka-default-topic"
as the migration topic.public String getTopic()
The topic to which you migrate the data. If you don't specify a topic, AWS DMS specifies
"kafka-default-topic"
as the migration topic.
"kafka-default-topic"
as the migration topic.public KafkaSettings withTopic(String topic)
The topic to which you migrate the data. If you don't specify a topic, AWS DMS specifies
"kafka-default-topic"
as the migration topic.
topic
- The topic to which you migrate the data. If you don't specify a topic, AWS DMS specifies
"kafka-default-topic"
as the migration topic.public String toString()
toString
in class Object
Object.toString()
public KafkaSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.