public KafkaAction withTopic(String topic) {
        setTopic(topic);
        return this;
    }
<p>
The Kafka topic for messages to be sent to the Kafka broker.
</p>

@param topic
       The Kafka topic for messages to be sent to the Kafka broker.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/KafkaAction.java