public AwsElasticsearchDomainDetails withLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions logPublishingOptions) {
        setLogPublishingOptions(logPublishingOptions);
        return this;
    }
<p>
Configures the CloudWatch Logs to publish for the Elasticsearch domain.
</p>

@param logPublishingOptions
       Configures the CloudWatch Logs to publish for the Elasticsearch domain.
@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/AwsElasticsearchDomainDetails.java