public CloudWatchLogsConfiguration withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Whether CloudWatch Logs is enabled for a layer.
</p>

@param enabled
       Whether CloudWatch Logs is enabled for a layer.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CloudWatchLogsConfiguration.java