public OcspConfiguration withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
</p>

@param enabled
       Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation
       status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/model/OcspConfiguration.java