public EventTopic withTopicArn(String topicArn) {
        setTopicArn(topicArn);
        return this;
    }
<p>
The Amazon SNS topic ARN (Amazon Resource Name).
</p>

@param topicArn
       The Amazon SNS topic ARN (Amazon Resource Name).
@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/EventTopic.java