public static class ExecutionLogPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutionLogPolicy |
build() |
ExecutionLogPolicy.Builder |
copy(ExecutionLogPolicy model) |
ExecutionLogPolicy.Builder |
isEnabled(Boolean isEnabled)
Enables pushing of execution logs to the legacy OCI Object Storage log archival bucket.
|
ExecutionLogPolicy.Builder |
logLevel(ExecutionLogPolicy.LogLevel logLevel)
Specifies the log level used to control logging output of execution logs.
|
public ExecutionLogPolicy.Builder isEnabled(Boolean isEnabled)
Enables pushing of execution logs to the legacy OCI Object Storage log archival bucket.
Oracle recommends using the OCI Logging service to enable, retrieve, and query execution logs for an API Deployment. If there is an active log object for the API Deployment and its category is set to 'execution' 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 ExecutionLogPolicy.Builder logLevel(ExecutionLogPolicy.LogLevel logLevel)
Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels.
logLevel
- the value to setpublic ExecutionLogPolicy build()
public ExecutionLogPolicy.Builder copy(ExecutionLogPolicy model)
Copyright © 2016–2024. All rights reserved.