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