public ManagedPersistenceMonitoringConfiguration withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
</p>

@param enabled
       Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/ManagedPersistenceMonitoringConfiguration.java