Class UpsertLogAnalyticsParserDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.UpsertLogAnalyticsParserDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class UpsertLogAnalyticsParserDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
UpsertLogAnalyticsParserDetails
Note: Objects should always be created or deserialized using theUpsertLogAnalyticsParserDetails.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
UpsertLogAnalyticsParserDetails.Builder
, which maintain a set of all explicitly set fields calledUpsertLogAnalyticsParserDetails.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
UpsertLogAnalyticsParserDetails.Builder
static class
UpsertLogAnalyticsParserDetails.Type
The parser type.
-
Constructor Summary
Constructors Constructor Description UpsertLogAnalyticsParserDetails(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, Integer logTypeTestRequestVersion, String parserIgnorelineCharacters, Integer parserSequence, String parserTimezone, Boolean isParserWrittenOnce, List<LogAnalyticsParserFunction> parserFunctions, Boolean shouldTokenizeOriginalText, String fieldDelimiter, String fieldQualifier, UpsertLogAnalyticsParserDetails.Type type, Boolean isNamespaceAware, List<LogAnalyticsCategory> categories, Boolean isPositionAware)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpsertLogAnalyticsParserDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<LogAnalyticsCategory>
getCategories()
An array of categories to assign to the parser.String
getContent()
The content.String
getDescription()
The parser description.String
getDisplayName()
The parser display name.Long
getEditVersion()
The parser edit version.String
getEncoding()
The encoding.String
getExampleContent()
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
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.String
getLanguage()
The language.Integer
getLogTypeTestRequestVersion()
The log type test request version.String
getName()
The parser internal name.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.UpsertLogAnalyticsParserDetails.Type
getType()
The parser type.int
hashCode()
UpsertLogAnalyticsParserDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpsertLogAnalyticsParserDetails
@Deprecated @ConstructorProperties({"content","description","displayName","editVersion","encoding","exampleContent","fieldMaps","footerContent","headerContent","name","isDefault","isSingleLineContent","isSystem","language","logTypeTestRequestVersion","parserIgnorelineCharacters","parserSequence","parserTimezone","isParserWrittenOnce","parserFunctions","shouldTokenizeOriginalText","fieldDelimiter","fieldQualifier","type","isNamespaceAware","categories","isPositionAware"}) public UpsertLogAnalyticsParserDetails(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, Integer logTypeTestRequestVersion, String parserIgnorelineCharacters, Integer parserSequence, String parserTimezone, Boolean isParserWrittenOnce, List<LogAnalyticsParserFunction> parserFunctions, Boolean shouldTokenizeOriginalText, String fieldDelimiter, String fieldQualifier, UpsertLogAnalyticsParserDetails.Type type, Boolean isNamespaceAware, List<LogAnalyticsCategory> categories, Boolean isPositionAware)
Deprecated.
-
-
Method Detail
-
builder
public static UpsertLogAnalyticsParserDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpsertLogAnalyticsParserDetails.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()
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 internal 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
-
getLogTypeTestRequestVersion
public Integer getLogTypeTestRequestVersion()
The log type test request version.- Returns:
- the value
-
getParserIgnorelineCharacters
public String getParserIgnorelineCharacters()
The line characters for the parser to ignore.- Returns:
- the value
-
getParserSequence
public Integer getParserSequence()
The parser sequence.- Returns:
- the value
-
getParserTimezone
public String getParserTimezone()
The time zone.- Returns:
- the value
-
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
-
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 UpsertLogAnalyticsParserDetails.Type getType()
The parser type.Default value is REGEX.
- 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 to assign to the parser.Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.
- Returns:
- the value
-
getIsPositionAware
public Boolean getIsPositionAware()
A flag indicating whether the parser is positionally aware.- 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
-
-