public UpdateTopicRequest withTopic(TopicDetails topic) {
        setTopic(topic);
        return this;
    }
<p>
The definition of the topic that you want to update.
</p>

@param topic
       The definition of the topic that you want to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/UpdateTopicRequest.java