Package com.oracle.bmc.logging.model
Class UnifiedAgentParser
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.logging.model.UnifiedAgentParser
 
 
- 
- Direct Known Subclasses:
- UnifiedAgentApache2Parser,- UnifiedAgentApacheErrorParser,- UnifiedAgentAuditdParser,- UnifiedAgentCriParser,- UnifiedAgentCsvParser,- UnifiedAgentGrokParser,- UnifiedAgentMsgpackParser,- UnifiedAgentMultilineGrokParser,- UnifiedAgentMultilineParser,- UnifiedAgentNoneParser,- UnifiedAgentOpenmetricsParser,- UnifiedAgentRegexParser,- UnifiedAgentSyslogParser,- UnifiedAgentTsvParser,- UnifiedJSONParser
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public class UnifiedAgentParser extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSource parser object.
 Note: Objects should always be created or deserialized using theBuilder. 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 theBuilder, which maintain a set of all explicitly set fields calledBuilder#__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 SummaryNested Classes Modifier and Type Class Description static classUnifiedAgentParser.ParserTypeType of fluent parser.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetFieldTimeKey()Specifies the time field for the event time.BooleangetIsEstimateCurrentEvent()If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.BooleangetIsKeepTimeKey()If true, keep the time field in the record.BooleangetIsNullEmptyString()If true, an empty string field is replaced with a null value.StringgetNullValuePattern()Specify the null value pattern.IntegergetTimeoutInMilliseconds()Specify the timeout for parse processing.Map<String,String>getTypes()Specify types for converting a field into another type.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UnifiedAgentParser@Deprecated @ConstructorProperties({"fieldTimeKey","types","nullValuePattern","isNullEmptyString","isEstimateCurrentEvent","isKeepTimeKey","timeoutInMilliseconds"}) protected UnifiedAgentParser(String fieldTimeKey, Map<String,String> types, String nullValuePattern, Boolean isNullEmptyString, Boolean isEstimateCurrentEvent, Boolean isKeepTimeKey, Integer timeoutInMilliseconds) Deprecated.
 
- 
 - 
Method Detail- 
getFieldTimeKeypublic String getFieldTimeKey() Specifies the time field for the event time.If the event doesn’t have this field, the current time is used. - Returns:
- the value
 
 - 
getTypespublic Map<String,String> getTypes() Specify types for converting a field into another type.For example, With this configuration: - Returns:
- the value
 
 - 
getNullValuePatternpublic String getNullValuePattern() Specify the null value pattern.- Returns:
- the value
 
 - 
getIsNullEmptyStringpublic Boolean getIsNullEmptyString() If true, an empty string field is replaced with a null value.- Returns:
- the value
 
 - 
getIsEstimateCurrentEventpublic Boolean getIsEstimateCurrentEvent() If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.- Returns:
- the value
 
 - 
getIsKeepTimeKeypublic Boolean getIsKeepTimeKey() If true, keep the time field in the record.- Returns:
- the value
 
 - 
getTimeoutInMillisecondspublic Integer getTimeoutInMilliseconds() Specify the timeout for parse processing.This is mainly for detecting an incorrect regexp pattern. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-