@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class LogEntry extends Object
Log entry for an operation resulting from a job’s execution.
Note: Objects should always be created or deserialized using the LogEntry.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 LogEntry.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 |
LogEntry.Builder |
static class |
LogEntry.Level
Specifies the severity level of the log entry.
|
static class |
LogEntry.Type
Specifies the log type for the log entry.
|
Constructor and Description |
---|
LogEntry(LogEntry.Type type,
LogEntry.Level level,
Date timestamp,
String message)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LogEntry.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
LogEntry.Level |
getLevel()
Specifies the severity level of the log entry.
|
String |
getMessage()
The log entry value.
|
Date |
getTimestamp()
The date and time of the log entry.
|
LogEntry.Type |
getType()
Specifies the log type for the log entry.
|
int |
hashCode() |
LogEntry.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"type","level","timestamp","message"}) @Deprecated public LogEntry(LogEntry.Type type, LogEntry.Level level, Date timestamp, String message)
public static LogEntry.Builder builder()
Create a new builder.
public LogEntry.Builder toBuilder()
public LogEntry.Type getType()
Specifies the log type for the log entry.
public LogEntry.Level getLevel()
Specifies the severity level of the log entry.
public Date getTimestamp()
The date and time of the log entry.
Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
public String getMessage()
The log entry value.
Copyright © 2016–2021. All rights reserved.