public CreateEventSubscriptionRequest withSnsTopicArn(String snsTopicArn) {
        setSnsTopicArn(snsTopicArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the SNS topic created for event notification. Amazon SNS creates the ARN when
you create a topic and subscribe to it.
</p>

@param snsTopicArn
       The Amazon Resource Name (ARN) of the SNS topic created for event notification. Amazon SNS creates the ARN
       when you create a topic and subscribe to it.
@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/CreateEventSubscriptionRequest.java