public void setCustomEndpointEnabled(Boolean customEndpointEnabled) {
        this.customEndpointEnabled = customEndpointEnabled;
    }
<p>
Specify if custom endpoint should be enabled for the Elasticsearch domain.
</p>

@param customEndpointEnabled
       Specify if custom endpoint should be enabled for the Elasticsearch domain.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/DomainEndpointOptions.java