Class LogEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.loggingingestion.model.LogEntry.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntrybuild()LogEntry.Buildercopy(LogEntry model)LogEntry.Builderdata(String data)The log entry content.LogEntry.Builderid(String id)UUID uniquely representing this logEntry.LogEntry.Buildertime(Date time)Optional.
-
-
-
Method Detail
-
data
public LogEntry.Builder data(String data)
The log entry content.- Parameters:
data- the value to set- Returns:
- this builder
-
id
public LogEntry.Builder id(String id)
UUID uniquely representing this logEntry.This is not an OCID related to any oracle resource.
- Parameters:
id- the value to set- Returns:
- this builder
-
time
public LogEntry.Builder time(Date time)
Optional.The timestamp associated with the log entry. An RFC3339-formatted date-time string with milliseconds precision. If unspecified, defaults to PutLogsDetails.defaultlogentrytime.
- Parameters:
time- the value to set- Returns:
- this builder
-
build
public LogEntry build()
-
copy
public LogEntry.Builder copy(LogEntry model)
-
-