public DomainEndpointOptions withEnforceHTTPS(Boolean enforceHTTPS) {
        setEnforceHTTPS(enforceHTTPS);
        return this;
    }
<p>
Whether the domain is HTTPS only enabled.
</p>

@param enforceHTTPS
       Whether the domain is HTTPS only enabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/DomainEndpointOptions.java