Class AbstractParserTestResultLogEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.AbstractParserTestResultLogEntry.Builder
-
- Enclosing class:
- AbstractParserTestResultLogEntry
public static class AbstractParserTestResultLogEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
extraInfoAttributes
public AbstractParserTestResultLogEntry.Builder extraInfoAttributes(Map<String,String> extraInfoAttributes)
Extra information attributes.- Parameters:
extraInfoAttributes- the value to set- Returns:
- this builder
-
fieldMap
public AbstractParserTestResultLogEntry.Builder fieldMap(Map<String,String> fieldMap)
The field map.- Parameters:
fieldMap- the value to set- Returns:
- this builder
-
fieldNameValueMap
public AbstractParserTestResultLogEntry.Builder fieldNameValueMap(Map<String,String> fieldNameValueMap)
The field name value map.- Parameters:
fieldNameValueMap- the value to set- Returns:
- this builder
-
fieldPositionValueMap
public AbstractParserTestResultLogEntry.Builder fieldPositionValueMap(Map<String,String> fieldPositionValueMap)
The field position value map.- Parameters:
fieldPositionValueMap- the value to set- Returns:
- this builder
-
fields
public AbstractParserTestResultLogEntry.Builder fields(Map<String,String> fields)
The parser fields.- Parameters:
fields- the value to set- Returns:
- this builder
-
logEntry
public AbstractParserTestResultLogEntry.Builder logEntry(String logEntry)
The log entry.- Parameters:
logEntry- the value to set- Returns:
- this builder
-
matchStatus
public AbstractParserTestResultLogEntry.Builder matchStatus(String matchStatus)
The match status.- Parameters:
matchStatus- the value to set- Returns:
- this builder
-
matchStatusDescription
public AbstractParserTestResultLogEntry.Builder matchStatusDescription(String matchStatusDescription)
The match status description.- Parameters:
matchStatusDescription- the value to set- Returns:
- this builder
-
fieldMapping
public AbstractParserTestResultLogEntry.Builder fieldMapping(List<ParserTestResultFieldValue> fieldMapping)
Additional properties on the field map.- Parameters:
fieldMapping- the value to set- Returns:
- this builder
-
metadata
public AbstractParserTestResultLogEntry.Builder metadata(List<ParserTestResultFieldValue> metadata)
Additional properties on the field map if sub parser with actions defined.- Parameters:
metadata- the value to set- Returns:
- this builder
-
action
public AbstractParserTestResultLogEntry.Builder action(String action)
The parser action.- Parameters:
action- the value to set- Returns:
- this builder
-
timestampZone
public AbstractParserTestResultLogEntry.Builder timestampZone(String timestampZone)
The timezone corresponding to the timestamp detected in the log entry (e.g.GMT).
- Parameters:
timestampZone- the value to set- Returns:
- this builder
-
timestampStartIndex
public AbstractParserTestResultLogEntry.Builder timestampStartIndex(Integer timestampStartIndex)
In case of regex parser, if there is any timestamp identified in the log entry, this value signifies the index in the log entry from which timestamp starts.- Parameters:
timestampStartIndex- the value to set- Returns:
- this builder
-
timestampEndIndex
public AbstractParserTestResultLogEntry.Builder timestampEndIndex(Integer timestampEndIndex)
In case of regex parser, if there is any timestamp identified in the log entry, this value signifies the index in the log entry at which timestamp ends.- Parameters:
timestampEndIndex- the value to set- Returns:
- this builder
-
timestampEpochMillisec
public AbstractParserTestResultLogEntry.Builder timestampEpochMillisec(Long timestampEpochMillisec)
The timestamp epoch in milliseconds.- Parameters:
timestampEpochMillisec- the value to set- Returns:
- this builder
-
textMatchInfo
public AbstractParserTestResultLogEntry.Builder textMatchInfo(AbstractParserTestResultLogLine textMatchInfo)
-
matchResult
public AbstractParserTestResultLogEntry.Builder matchResult(RegexMatchResult matchResult)
-
loglines
public AbstractParserTestResultLogEntry.Builder loglines(List<AbstractParserTestResultLogLine> loglines)
Test result log lines.- Parameters:
loglines- the value to set- Returns:
- this builder
-
functionNames
public AbstractParserTestResultLogEntry.Builder functionNames(List<String> functionNames)
The parser function names.- Parameters:
functionNames- the value to set- Returns:
- this builder
-
build
public AbstractParserTestResultLogEntry build()
-
copy
public AbstractParserTestResultLogEntry.Builder copy(AbstractParserTestResultLogEntry model)
-
-