public AwsElasticsearchDomainDetails withElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig) {
        setElasticsearchClusterConfig(elasticsearchClusterConfig);
        return this;
    }
<p>
Information about an OpenSearch cluster configuration.
</p>

@param elasticsearchClusterConfig
       Information about an OpenSearch cluster configuration.
@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