Package com.oracle.bmc.apigateway.model
Class ExecutionLogPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.ExecutionLogPolicy.Builder
 
- 
- Enclosing class:
- ExecutionLogPolicy
 
 public static class ExecutionLogPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionLogPolicybuild()ExecutionLogPolicy.Buildercopy(ExecutionLogPolicy model)ExecutionLogPolicy.BuilderisEnabled(Boolean isEnabled)Enables pushing of execution logs to the legacy OCI Object Storage log archival bucket.ExecutionLogPolicy.BuilderlogLevel(ExecutionLogPolicy.LogLevel logLevel)Specifies the log level used to control logging output of execution logs.
 
- 
- 
- 
Method Detail- 
isEnabledpublic 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. - Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
logLevelpublic 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. - Parameters:
- logLevel- the value to set
- Returns:
- this builder
 
 - 
buildpublic ExecutionLogPolicy build() 
 - 
copypublic ExecutionLogPolicy.Builder copy(ExecutionLogPolicy model) 
 
- 
 
-