public static class LogAnalyticsParser.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogAnalyticsParser |
build() |
LogAnalyticsParser.Builder |
categories(List<LogAnalyticsCategory> categories)
An array of categories assigned to this parser.
|
LogAnalyticsParser.Builder |
content(String content)
The content.
|
LogAnalyticsParser.Builder |
copy(LogAnalyticsParser model) |
LogAnalyticsParser.Builder |
dependentParsers(List<DependentParser> dependentParsers)
A list of sub parsers used by this parser.
|
LogAnalyticsParser.Builder |
dependentSources(List<DependentSource> dependentSources)
A list of sources that depend on the parser, either directly or indirectly.
|
LogAnalyticsParser.Builder |
description(String description)
The parser description.
|
LogAnalyticsParser.Builder |
displayName(String displayName)
The parser display name.
|
LogAnalyticsParser.Builder |
editVersion(Long editVersion)
The parser edit version.
|
LogAnalyticsParser.Builder |
encoding(String encoding)
The encoding.
|
LogAnalyticsParser.Builder |
exampleContent(String exampleContent)
The example content.
|
LogAnalyticsParser.Builder |
fieldDelimiter(String fieldDelimiter)
The parser field delimiter.
|
LogAnalyticsParser.Builder |
fieldMaps(List<LogAnalyticsParserField> fieldMaps)
The parser fields.
|
LogAnalyticsParser.Builder |
fieldQualifier(String fieldQualifier)
The parser field qualifier.
|
LogAnalyticsParser.Builder |
footerContent(String footerContent)
The footer regular expression.
|
LogAnalyticsParser.Builder |
headerContent(String headerContent)
The header content.
|
LogAnalyticsParser.Builder |
isDefault(Boolean isDefault)
A flag indicating if this is a default parser.
|
LogAnalyticsParser.Builder |
isHidden(Boolean isHidden)
A flag indicating if the parser is hidden or not.
|
LogAnalyticsParser.Builder |
isNamespaceAware(Boolean isNamespaceAware)
A flag indicating whether the XML parser should consider the namespace(s) while
processing the log data.
|
LogAnalyticsParser.Builder |
isParserWrittenOnce(Boolean isParserWrittenOnce)
A flag indicating whther or not the parser is write once.
|
LogAnalyticsParser.Builder |
isPositionAware(Boolean isPositionAware)
A flag indicating whether the parser is positionally aware.
|
LogAnalyticsParser.Builder |
isSingleLineContent(Boolean isSingleLineContent)
A flag indicating if this is a single line content parser.
|
LogAnalyticsParser.Builder |
isSystem(Boolean isSystem)
The system flag.
|
LogAnalyticsParser.Builder |
isUserDeleted(Boolean isUserDeleted)
A flag indicating whether or not the parser has been deleted.
|
LogAnalyticsParser.Builder |
language(String language)
The language.
|
LogAnalyticsParser.Builder |
logTypeTestRequestVersion(Integer logTypeTestRequestVersion)
The log type test request .
|
LogAnalyticsParser.Builder |
mappedParsers(List<LogAnalyticsParser> mappedParsers)
The mapped parser list.
|
LogAnalyticsParser.Builder |
name(String name)
The parser name.
|
LogAnalyticsParser.Builder |
parserFilter(LogAnalyticsParserFilter parserFilter) |
LogAnalyticsParser.Builder |
parserFunctions(List<LogAnalyticsParserFunction> parserFunctions)
The parser function list.
|
LogAnalyticsParser.Builder |
parserIgnorelineCharacters(String parserIgnorelineCharacters)
The line characters for the parser to ignore.
|
LogAnalyticsParser.Builder |
parserSequence(Integer parserSequence)
The parser sequence.
|
LogAnalyticsParser.Builder |
parserTimezone(String parserTimezone)
The time zone.
|
LogAnalyticsParser.Builder |
shouldTokenizeOriginalText(Boolean shouldTokenizeOriginalText)
A flag indicating whether or not to tokenize the original text.
|
LogAnalyticsParser.Builder |
sources(List<LogAnalyticsSource> sources)
The list of sources using this parser.
|
LogAnalyticsParser.Builder |
sourcesCount(Long sourcesCount)
The number of sources using this parser
|
LogAnalyticsParser.Builder |
timeUpdated(Date timeUpdated)
The last updated date.
|
LogAnalyticsParser.Builder |
type(LogAnalyticsParser.Type type)
The parser type.
|
public LogAnalyticsParser.Builder content(String content)
The content.
content
- the value to setpublic LogAnalyticsParser.Builder description(String description)
The parser description.
description
- the value to setpublic LogAnalyticsParser.Builder displayName(String displayName)
The parser display name.
displayName
- the value to setpublic LogAnalyticsParser.Builder editVersion(Long editVersion)
The parser edit version.
editVersion
- the value to setpublic LogAnalyticsParser.Builder encoding(String encoding)
The encoding.
encoding
- the value to setpublic LogAnalyticsParser.Builder exampleContent(String exampleContent)
The example content.
exampleContent
- the value to setpublic LogAnalyticsParser.Builder fieldMaps(List<LogAnalyticsParserField> fieldMaps)
The parser fields.
fieldMaps
- the value to setpublic LogAnalyticsParser.Builder footerContent(String footerContent)
The footer regular expression.
footerContent
- the value to setpublic LogAnalyticsParser.Builder headerContent(String headerContent)
The header content.
headerContent
- the value to setpublic LogAnalyticsParser.Builder name(String name)
The parser name.
name
- the value to setpublic LogAnalyticsParser.Builder isDefault(Boolean isDefault)
A flag indicating if this is a default parser.
isDefault
- the value to setpublic LogAnalyticsParser.Builder isSingleLineContent(Boolean isSingleLineContent)
A flag indicating if this is a single line content parser.
isSingleLineContent
- the value to setpublic LogAnalyticsParser.Builder isSystem(Boolean isSystem)
The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
isSystem
- the value to setpublic LogAnalyticsParser.Builder language(String language)
The language.
language
- the value to setpublic LogAnalyticsParser.Builder timeUpdated(Date timeUpdated)
The last updated date.
timeUpdated
- the value to setpublic LogAnalyticsParser.Builder logTypeTestRequestVersion(Integer logTypeTestRequestVersion)
The log type test request .
logTypeTestRequestVersion
- the value to setpublic LogAnalyticsParser.Builder mappedParsers(List<LogAnalyticsParser> mappedParsers)
The mapped parser list.
mappedParsers
- the value to setpublic LogAnalyticsParser.Builder parserIgnorelineCharacters(String parserIgnorelineCharacters)
The line characters for the parser to ignore.
parserIgnorelineCharacters
- the value to setpublic LogAnalyticsParser.Builder isHidden(Boolean isHidden)
A flag indicating if the parser is hidden or not.
isHidden
- the value to setpublic LogAnalyticsParser.Builder parserSequence(Integer parserSequence)
The parser sequence.
parserSequence
- the value to setpublic LogAnalyticsParser.Builder parserTimezone(String parserTimezone)
The time zone.
parserTimezone
- the value to setpublic LogAnalyticsParser.Builder parserFilter(LogAnalyticsParserFilter parserFilter)
public LogAnalyticsParser.Builder isParserWrittenOnce(Boolean isParserWrittenOnce)
A flag indicating whther or not the parser is write once.
isParserWrittenOnce
- the value to setpublic LogAnalyticsParser.Builder parserFunctions(List<LogAnalyticsParserFunction> parserFunctions)
The parser function list.
parserFunctions
- the value to setpublic LogAnalyticsParser.Builder sourcesCount(Long sourcesCount)
The number of sources using this parser
sourcesCount
- the value to setpublic LogAnalyticsParser.Builder sources(List<LogAnalyticsSource> sources)
The list of sources using this parser.
sources
- the value to setpublic LogAnalyticsParser.Builder shouldTokenizeOriginalText(Boolean shouldTokenizeOriginalText)
A flag indicating whether or not to tokenize the original text.
shouldTokenizeOriginalText
- the value to setpublic LogAnalyticsParser.Builder fieldDelimiter(String fieldDelimiter)
The parser field delimiter.
fieldDelimiter
- the value to setpublic LogAnalyticsParser.Builder fieldQualifier(String fieldQualifier)
The parser field qualifier.
fieldQualifier
- the value to setpublic LogAnalyticsParser.Builder type(LogAnalyticsParser.Type type)
The parser type. Default value is REGEX.
type
- the value to setpublic LogAnalyticsParser.Builder isUserDeleted(Boolean isUserDeleted)
A flag indicating whether or not the parser has been deleted.
isUserDeleted
- the value to setpublic LogAnalyticsParser.Builder isNamespaceAware(Boolean isNamespaceAware)
A flag indicating whether the XML parser should consider the namespace(s) while processing the log data.
isNamespaceAware
- the value to setpublic LogAnalyticsParser.Builder categories(List<LogAnalyticsCategory> categories)
An array of categories assigned to this parser. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
categories
- the value to setpublic LogAnalyticsParser.Builder isPositionAware(Boolean isPositionAware)
A flag indicating whether the parser is positionally aware.
isPositionAware
- the value to setpublic LogAnalyticsParser.Builder dependentSources(List<DependentSource> dependentSources)
A list of sources that depend on the parser, either directly or indirectly.
dependentSources
- the value to setpublic LogAnalyticsParser.Builder dependentParsers(List<DependentParser> dependentParsers)
A list of sub parsers used by this parser.
dependentParsers
- the value to setpublic LogAnalyticsParser build()
public LogAnalyticsParser.Builder copy(LogAnalyticsParser model)
Copyright © 2016–2024. All rights reserved.