Class LogAnalyticsParser
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsParser
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsParser extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
LogAnalyticsParser
Note: Objects should always be created or deserialized using theLogAnalyticsParser.Builder
.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the
LogAnalyticsParser.Builder
, which maintain a set of all explicitly set fields calledLogAnalyticsParser.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogAnalyticsParser.Builder
static class
LogAnalyticsParser.Type
The parser type.
-
Constructor Summary
Constructors Constructor Description LogAnalyticsParser(String content, String description, String displayName, Long editVersion, String encoding, String exampleContent, List<LogAnalyticsParserField> fieldMaps, String footerContent, String headerContent, String name, Boolean isDefault, Boolean isSingleLineContent, Boolean isSystem, String language, Date timeUpdated, Integer logTypeTestRequestVersion, List<LogAnalyticsParser> mappedParsers, String parserIgnorelineCharacters, Boolean isHidden, Integer parserSequence, String parserTimezone, LogAnalyticsParserFilter parserFilter, Boolean isParserWrittenOnce, List<LogAnalyticsParserFunction> parserFunctions, Long sourcesCount, List<LogAnalyticsSource> sources, Boolean shouldTokenizeOriginalText, String fieldDelimiter, String fieldQualifier, LogAnalyticsParser.Type type, Boolean isUserDeleted, Boolean isNamespaceAware, List<LogAnalyticsCategory> categories, Boolean isPositionAware, List<DependentSource> dependentSources, List<DependentParser> dependentParsers)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsParser.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<LogAnalyticsCategory>
getCategories()
An array of categories assigned to this parser.String
getContent()
The content.List<DependentParser>
getDependentParsers()
A list of sub parsers used by this parser.List<DependentSource>
getDependentSources()
A list of sources that depend on the parser, either directly or indirectly.String
getDescription()
The parser description.String
getDisplayName()
The parser display name.Long
getEditVersion()
The parser edit version.String
getEncoding()
The encoding.String
getExampleContent()
The example content.String
getFieldDelimiter()
The parser field delimiter.List<LogAnalyticsParserField>
getFieldMaps()
The parser fields.String
getFieldQualifier()
The parser field qualifier.String
getFooterContent()
The footer regular expression.String
getHeaderContent()
The header content.Boolean
getIsDefault()
A flag indicating if this is a default parser.Boolean
getIsHidden()
A flag indicating if the parser is hidden or not.Boolean
getIsNamespaceAware()
A flag indicating whether the XML parser should consider the namespace(s) while processing the log data.Boolean
getIsParserWrittenOnce()
A flag indicating whther or not the parser is write once.Boolean
getIsPositionAware()
A flag indicating whether the parser is positionally aware.Boolean
getIsSingleLineContent()
A flag indicating if this is a single line content parser.Boolean
getIsSystem()
The system flag.Boolean
getIsUserDeleted()
A flag indicating whether or not the parser has been deleted.String
getLanguage()
The language.Integer
getLogTypeTestRequestVersion()
The log type test request .List<LogAnalyticsParser>
getMappedParsers()
The mapped parser list.String
getName()
The parser name.LogAnalyticsParserFilter
getParserFilter()
List<LogAnalyticsParserFunction>
getParserFunctions()
The parser function list.String
getParserIgnorelineCharacters()
The line characters for the parser to ignore.Integer
getParserSequence()
The parser sequence.String
getParserTimezone()
The time zone.Boolean
getShouldTokenizeOriginalText()
A flag indicating whether or not to tokenize the original text.List<LogAnalyticsSource>
getSources()
The list of sources using this parser.Long
getSourcesCount()
The number of sources using this parserDate
getTimeUpdated()
The last updated date.LogAnalyticsParser.Type
getType()
The parser type.int
hashCode()
LogAnalyticsParser.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LogAnalyticsParser
@Deprecated @ConstructorProperties({"content","description","displayName","editVersion","encoding","exampleContent","fieldMaps","footerContent","headerContent","name","isDefault","isSingleLineContent","isSystem","language","timeUpdated","logTypeTestRequestVersion","mappedParsers","parserIgnorelineCharacters","isHidden","parserSequence","parserTimezone","parserFilter","isParserWrittenOnce","parserFunctions","sourcesCount","sources","shouldTokenizeOriginalText","fieldDelimiter","fieldQualifier","type","isUserDeleted","isNamespaceAware","categories","isPositionAware","dependentSources","dependentParsers"}) public LogAnalyticsParser(String content, String description, String displayName, Long editVersion, String encoding, String exampleContent, List<LogAnalyticsParserField> fieldMaps, String footerContent, String headerContent, String name, Boolean isDefault, Boolean isSingleLineContent, Boolean isSystem, String language, Date timeUpdated, Integer logTypeTestRequestVersion, List<LogAnalyticsParser> mappedParsers, String parserIgnorelineCharacters, Boolean isHidden, Integer parserSequence, String parserTimezone, LogAnalyticsParserFilter parserFilter, Boolean isParserWrittenOnce, List<LogAnalyticsParserFunction> parserFunctions, Long sourcesCount, List<LogAnalyticsSource> sources, Boolean shouldTokenizeOriginalText, String fieldDelimiter, String fieldQualifier, LogAnalyticsParser.Type type, Boolean isUserDeleted, Boolean isNamespaceAware, List<LogAnalyticsCategory> categories, Boolean isPositionAware, List<DependentSource> dependentSources, List<DependentParser> dependentParsers)
Deprecated.
-
-
Method Detail
-
builder
public static LogAnalyticsParser.Builder builder()
Create a new builder.
-
toBuilder
public LogAnalyticsParser.Builder toBuilder()
-
getContent
public String getContent()
The content.- Returns:
- the value
-
getDescription
public String getDescription()
The parser description.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The parser display name.- Returns:
- the value
-
getEditVersion
public Long getEditVersion()
The parser edit version.- Returns:
- the value
-
getEncoding
public String getEncoding()
The encoding.- Returns:
- the value
-
getExampleContent
public String getExampleContent()
The example content.- Returns:
- the value
-
getFieldMaps
public List<LogAnalyticsParserField> getFieldMaps()
The parser fields.- Returns:
- the value
-
getFooterContent
public String getFooterContent()
The footer regular expression.- Returns:
- the value
-
getHeaderContent
public String getHeaderContent()
The header content.- Returns:
- the value
-
getName
public String getName()
The parser name.- Returns:
- the value
-
getIsDefault
public Boolean getIsDefault()
A flag indicating if this is a default parser.- Returns:
- the value
-
getIsSingleLineContent
public Boolean getIsSingleLineContent()
A flag indicating if this is a single line content parser.- Returns:
- the value
-
getIsSystem
public Boolean getIsSystem()
The system flag.A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Returns:
- the value
-
getLanguage
public String getLanguage()
The language.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The last updated date.- Returns:
- the value
-
getLogTypeTestRequestVersion
public Integer getLogTypeTestRequestVersion()
The log type test request .- Returns:
- the value
-
getMappedParsers
public List<LogAnalyticsParser> getMappedParsers()
The mapped parser list.- Returns:
- the value
-
getParserIgnorelineCharacters
public String getParserIgnorelineCharacters()
The line characters for the parser to ignore.- Returns:
- the value
-
getIsHidden
public Boolean getIsHidden()
A flag indicating if the parser is hidden or not.- Returns:
- the value
-
getParserSequence
public Integer getParserSequence()
The parser sequence.- Returns:
- the value
-
getParserTimezone
public String getParserTimezone()
The time zone.- Returns:
- the value
-
getParserFilter
public LogAnalyticsParserFilter getParserFilter()
-
getIsParserWrittenOnce
public Boolean getIsParserWrittenOnce()
A flag indicating whther or not the parser is write once.- Returns:
- the value
-
getParserFunctions
public List<LogAnalyticsParserFunction> getParserFunctions()
The parser function list.- Returns:
- the value
-
getSourcesCount
public Long getSourcesCount()
The number of sources using this parser- Returns:
- the value
-
getSources
public List<LogAnalyticsSource> getSources()
The list of sources using this parser.- Returns:
- the value
-
getShouldTokenizeOriginalText
public Boolean getShouldTokenizeOriginalText()
A flag indicating whether or not to tokenize the original text.- Returns:
- the value
-
getFieldDelimiter
public String getFieldDelimiter()
The parser field delimiter.- Returns:
- the value
-
getFieldQualifier
public String getFieldQualifier()
The parser field qualifier.- Returns:
- the value
-
getType
public LogAnalyticsParser.Type getType()
The parser type.Default value is REGEX.
- Returns:
- the value
-
getIsUserDeleted
public Boolean getIsUserDeleted()
A flag indicating whether or not the parser has been deleted.- Returns:
- the value
-
getIsNamespaceAware
public Boolean getIsNamespaceAware()
A flag indicating whether the XML parser should consider the namespace(s) while processing the log data.- Returns:
- the value
-
getCategories
public List<LogAnalyticsCategory> getCategories()
An array of categories assigned to this parser.The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
- Returns:
- the value
-
getIsPositionAware
public Boolean getIsPositionAware()
A flag indicating whether the parser is positionally aware.- Returns:
- the value
-
getDependentSources
public List<DependentSource> getDependentSources()
A list of sources that depend on the parser, either directly or indirectly.- Returns:
- the value
-
getDependentParsers
public List<DependentParser> getDependentParsers()
A list of sub parsers used by this parser.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-