public static class AccessLogPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AccessLogPolicy |
build() |
AccessLogPolicy.Builder |
copy(AccessLogPolicy model) |
AccessLogPolicy.Builder |
isEnabled(Boolean isEnabled)
Enables pushing of access logs to the legacy OCI Object Storage log archival bucket.
|
public AccessLogPolicy.Builder isEnabled(Boolean isEnabled)
Enables pushing of access logs to the legacy OCI Object Storage log archival bucket.
Oracle recommends using the OCI Logging service to enable, retrieve, and query access logs for an API Deployment. If there is an active log object for the API Deployment and its category is set to 'access' in OCI Logging service, the logs will not be uploaded to the legacy OCI Object Storage log archival bucket.
Please note that the functionality to push to the legacy OCI Object Storage log archival bucket has been deprecated and will be removed in the future.
isEnabled
- the value to setpublic AccessLogPolicy build()
public AccessLogPolicy.Builder copy(AccessLogPolicy model)
Copyright © 2016–2024. All rights reserved.