public AwsCloudTrailTrailDetails withSnsTopicArn(String snsTopicArn) {
        setSnsTopicArn(snsTopicArn);
        return this;
    }
<p>
The ARN of the SNS topic that is used for notifications of log file delivery.
</p>

@param snsTopicArn
       The ARN of the SNS topic that is used for notifications of log file delivery.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsCloudTrailTrailDetails.java