public static class LogAnalyticsParserSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public LogAnalyticsParserSummary.Builder content(String content)
The content.
content
- the value to setpublic LogAnalyticsParserSummary.Builder description(String description)
The parser description.
description
- the value to setpublic LogAnalyticsParserSummary.Builder displayName(String displayName)
The parser display name.
displayName
- the value to setpublic LogAnalyticsParserSummary.Builder editVersion(Long editVersion)
The parser edit version.
editVersion
- the value to setpublic LogAnalyticsParserSummary.Builder encoding(String encoding)
The encoding.
encoding
- the value to setpublic LogAnalyticsParserSummary.Builder exampleContent(String exampleContent)
The example content.
exampleContent
- the value to setpublic LogAnalyticsParserSummary.Builder fieldMaps(List<LogAnalyticsParserField> fieldMaps)
The parser fields.
fieldMaps
- the value to setpublic LogAnalyticsParserSummary.Builder footerContent(String footerContent)
The footer regular expression.
footerContent
- the value to setpublic LogAnalyticsParserSummary.Builder headerContent(String headerContent)
The header content.
headerContent
- the value to setpublic LogAnalyticsParserSummary.Builder name(String name)
The parser name.
name
- the value to setpublic LogAnalyticsParserSummary.Builder isDefault(Boolean isDefault)
A flag indicating if this is a default parser.
isDefault
- the value to setpublic LogAnalyticsParserSummary.Builder isSingleLineContent(Boolean isSingleLineContent)
A flag indicating if this is a single line content parser.
isSingleLineContent
- the value to setpublic LogAnalyticsParserSummary.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 LogAnalyticsParserSummary.Builder language(String language)
The language.
language
- the value to setpublic LogAnalyticsParserSummary.Builder timeUpdated(Date timeUpdated)
The last updated date.
timeUpdated
- the value to setpublic LogAnalyticsParserSummary.Builder logTypeTestRequestVersion(Integer logTypeTestRequestVersion)
The log type test request version.
logTypeTestRequestVersion
- the value to setpublic LogAnalyticsParserSummary.Builder mappedParsers(List<LogAnalyticsParser> mappedParsers)
The mapped parser list.
mappedParsers
- the value to setpublic LogAnalyticsParserSummary.Builder parserIgnorelineCharacters(String parserIgnorelineCharacters)
The line characters for the parser to ignore.
parserIgnorelineCharacters
- the value to setpublic LogAnalyticsParserSummary.Builder isHidden(Boolean isHidden)
A flag indicating if the parser is hidden or not.
isHidden
- the value to setpublic LogAnalyticsParserSummary.Builder parserSequence(Integer parserSequence)
The parser sequence.
parserSequence
- the value to setpublic LogAnalyticsParserSummary.Builder parserTimezone(String parserTimezone)
The time zone.
parserTimezone
- the value to setpublic LogAnalyticsParserSummary.Builder parserFilter(LogAnalyticsParserFilter parserFilter)
public LogAnalyticsParserSummary.Builder isParserWrittenOnce(Boolean isParserWrittenOnce)
A flag indicating whther or not the parser is write once.
isParserWrittenOnce
- the value to setpublic LogAnalyticsParserSummary.Builder parserFunctions(List<LogAnalyticsParserFunction> parserFunctions)
The parser function list.
parserFunctions
- the value to setpublic LogAnalyticsParserSummary.Builder sourcesCount(Long sourcesCount)
The number of sources using this parser.
sourcesCount
- the value to setpublic LogAnalyticsParserSummary.Builder sources(List<LogAnalyticsSource> sources)
The list of sources using this parser.
sources
- the value to setpublic LogAnalyticsParserSummary.Builder shouldTokenizeOriginalText(Boolean shouldTokenizeOriginalText)
A flag indicating whether or not to tokenize the original text.
shouldTokenizeOriginalText
- the value to setpublic LogAnalyticsParserSummary.Builder fieldDelimiter(String fieldDelimiter)
The parser field delimiter.
fieldDelimiter
- the value to setpublic LogAnalyticsParserSummary.Builder fieldQualifier(String fieldQualifier)
The parser field qualifier.
fieldQualifier
- the value to setpublic LogAnalyticsParserSummary.Builder type(LogAnalyticsParserSummary.Type type)
The parser type. Default value is REGEX.
type
- the value to setpublic LogAnalyticsParserSummary.Builder isUserDeleted(Boolean isUserDeleted)
A flag indicating whether or not the parser has been deleted.
isUserDeleted
- the value to setpublic LogAnalyticsParserSummary.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 LogAnalyticsParserSummary.Builder isPositionAware(Boolean isPositionAware)
A flag indicating whether the parser is positionally aware.
isPositionAware
- the value to setpublic LogAnalyticsParserSummary build()
public LogAnalyticsParserSummary.Builder copy(LogAnalyticsParserSummary model)
Copyright © 2016–2024. All rights reserved.