@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class ExecutionLogPolicy extends Object
Configures the pushing of execution logs to OCI Public Logging.
Note: Objects should always be created or deserialized using the ExecutionLogPolicy.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ExecutionLogPolicy.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionLogPolicy.Builder |
static class |
ExecutionLogPolicy.LogLevel
Specifies the logging level, which affects the log entries pushed to OCI Public Logging if
isEnabled is set to True. |
| Constructor and Description |
|---|
ExecutionLogPolicy(Boolean isEnabled,
ExecutionLogPolicy.LogLevel logLevel)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionLogPolicy.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getIsEnabled()
Enables pushing of execution logs to OCI Public Logging.
|
ExecutionLogPolicy.LogLevel |
getLogLevel()
Specifies the logging level, which affects the log entries pushed to OCI Public Logging if
isEnabled is set to True. |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"isEnabled","logLevel"}) @Deprecated public ExecutionLogPolicy(Boolean isEnabled, ExecutionLogPolicy.LogLevel logLevel)
public static ExecutionLogPolicy.Builder builder()
Create a new builder.
public Boolean getIsEnabled()
Enables pushing of execution logs to OCI Public Logging.
public ExecutionLogPolicy.LogLevel getLogLevel()
Specifies the logging level, which affects the log entries pushed to OCI Public Logging if isEnabled is set to True.
Copyright © 2016–2020. All rights reserved.