Package com.oracle.bmc.apigateway.model
Class AccessLogPolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.AccessLogPolicy.Builder
-
- Enclosing class:
- AccessLogPolicy
public static class AccessLogPolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
isEnabled
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.
- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
build
public AccessLogPolicy build()
-
copy
public AccessLogPolicy.Builder copy(AccessLogPolicy model)
-
-