public NotificationConfiguration withTopicArn(String topicArn) {
        setTopicArn(topicArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) that identifies the topic.
</p>

@param topicArn
       The Amazon Resource Name (ARN) that identifies the topic.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NotificationConfiguration.java