public EventSubscription withSnsTopicArn(String snsTopicArn) {
        setSnsTopicArn(snsTopicArn);
        return this;
    }
<p>
The topic ARN of the Amazon DocumentDB event notification subscription.
</p>

@param snsTopicArn
       The topic ARN of the Amazon DocumentDB event notification subscription.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/EventSubscription.java