public SnsDestination withTopicArn(String topicArn) {
        setTopicArn(topicArn);
        return this;
    }
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.

@param topicArn
       The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoice/src/main/java/com/amazonaws/services/pinpointsmsvoice/model/SnsDestination.java