public AwsCloudTrailTrailDetails withSnsTopicName(String snsTopicName) {
        setSnsTopicName(snsTopicName);
        return this;
    }
<p>
The name of the SNS topic that is used for notifications of log file delivery.
</p>

@param snsTopicName
       The name 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