Class LogEntryBatch.Builder
- java.lang.Object
- 
- com.oracle.bmc.loggingingestion.model.LogEntryBatch.Builder
 
- 
- Enclosing class:
- LogEntryBatch
 
 public static class LogEntryBatch.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntryBatchbuild()LogEntryBatch.Buildercopy(LogEntryBatch model)LogEntryBatch.Builderdefaultlogentrytime(Date defaultlogentrytime)The timestamp for all log entries in this batch.LogEntryBatch.Builderentries(List<LogEntry> entries)List of data entries.LogEntryBatch.Buildersource(String source)Source of the logs that generated the message.LogEntryBatch.Buildersubject(String subject)This optional field is useful for specifying the specific sub-resource or input file used to read the event.LogEntryBatch.Buildertype(String type)This field signifies the type of logs being ingested.
 
- 
- 
- 
Method Detail- 
entriespublic LogEntryBatch.Builder entries(List<LogEntry> entries) List of data entries.- Parameters:
- entries- the value to set
- Returns:
- this builder
 
 - 
sourcepublic LogEntryBatch.Builder source(String source) Source of the logs that generated the message.This could be the instance name, hostname, or the source used to read the event. For example, “ServerA”. - Parameters:
- source- the value to set
- Returns:
- this builder
 
 - 
typepublic LogEntryBatch.Builder type(String type) This field signifies the type of logs being ingested.For example: ServerA.requestLogs. - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
subjectpublic LogEntryBatch.Builder subject(String subject) This optional field is useful for specifying the specific sub-resource or input file used to read the event.For example: “/var/log/application.log”. - Parameters:
- subject- the value to set
- Returns:
- this builder
 
 - 
defaultlogentrytimepublic LogEntryBatch.Builder defaultlogentrytime(Date defaultlogentrytime) The timestamp for all log entries in this batch.This can be considered as the default timestamp for each entry, unless it is overwritten by the entry time. An RFC3339-formatted date-time string with milliseconds precision. - Parameters:
- defaultlogentrytime- the value to set
- Returns:
- this builder
 
 - 
buildpublic LogEntryBatch build() 
 - 
copypublic LogEntryBatch.Builder copy(LogEntryBatch model) 
 
- 
 
-