Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogEntry |
build() |
LogEntry.Builder |
copy(LogEntry model) |
LogEntry.Builder |
level(LogEntry.Level level)
Specifies the severity level of the log entry.
|
LogEntry.Builder |
message(String message)
The log entry value.
|
LogEntry.Builder |
timestamp(Date timestamp)
The date and time of the log entry.
|
LogEntry.Builder |
type(LogEntry.Type type)
Specifies the log type for the log entry.
|
public LogEntry.Builder type(LogEntry.Type type)
Specifies the log type for the log entry.
type
- the value to setpublic LogEntry.Builder level(LogEntry.Level level)
Specifies the severity level of the log entry.
level
- the value to setpublic LogEntry.Builder timestamp(Date timestamp)
The date and time of the log entry. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
timestamp
- the value to setpublic LogEntry.Builder message(String message)
The log entry value.
message
- the value to setpublic LogEntry build()
public LogEntry.Builder copy(LogEntry model)
Copyright © 2016–2024. All rights reserved.