public void setEnforceHTTPS(Boolean enforceHTTPS) {
        this.enforceHTTPS = enforceHTTPS;
    }
<p>
Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
</p>

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