public S3Action withTopicArn(String topicArn) {
        setTopicArn(topicArn);
        return this;
    }
<p>
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. You can find the ARN
of a topic by using the <a href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">ListTopics</a>
operation in Amazon SNS.
</p>
<p>
For more information about Amazon SNS topics, see the <a
href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon SNS Developer Guide</a>.
</p>

@param topicArn
       The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. You can find
       the ARN of a topic by using the <a
       href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">ListTopics</a> operation in Amazon
       SNS.</p>
       <p>
       For more information about Amazon SNS topics, see the <a
       href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon SNS Developer Guide</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/S3Action.java