public DeregisterEventTopicRequest withTopicName(String topicName) {
        setTopicName(topicName);
        return this;
    }
<p>
The name of the Amazon SNS topic from which to remove the directory as a publisher.
</p>

@param topicName
       The name of the Amazon SNS topic from which to remove the directory as a publisher.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/DeregisterEventTopicRequest.java