Package com.oracle.bmc.apigateway.model
Class ExecutionLogPolicy
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apigateway.model.ExecutionLogPolicy
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class ExecutionLogPolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelConfigures the logging policies for the execution logs of an API Deployment.
 Note: Objects should always be created or deserialized using theExecutionLogPolicy.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 theExecutionLogPolicy.Builder, which maintain a set of all explicitly set fields calledExecutionLogPolicy.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classExecutionLogPolicy.Builderstatic classExecutionLogPolicy.LogLevelSpecifies the log level used to control logging output of execution logs.
 - 
Constructor SummaryConstructors Constructor Description ExecutionLogPolicy(Boolean isEnabled, ExecutionLogPolicy.LogLevel logLevel)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionLogPolicy.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsEnabled()Enables pushing of execution logs to the legacy OCI Object Storage log archival bucket.ExecutionLogPolicy.LogLevelgetLogLevel()Specifies the log level used to control logging output of execution logs.inthashCode()ExecutionLogPolicy.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ExecutionLogPolicy@Deprecated @ConstructorProperties({"isEnabled","logLevel"}) public ExecutionLogPolicy(Boolean isEnabled, ExecutionLogPolicy.LogLevel logLevel) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ExecutionLogPolicy.Builder builder() Create a new builder.
 - 
toBuilderpublic ExecutionLogPolicy.Builder toBuilder() 
 - 
getIsEnabledpublic Boolean getIsEnabled() 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. - Returns:
- the value
 
 - 
getLogLevelpublic ExecutionLogPolicy.LogLevel getLogLevel() 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. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-