public PublishFindingToSnsParams withTopicArn(String topicArn) {
        setTopicArn(topicArn);
        return this;
    }
<p>
The ARN of the topic to which you want to publish the findings.
</p>

@param topicArn
       The ARN of the topic to which you want to publish the findings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/PublishFindingToSnsParams.java