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 Summary
Nested Classes Modifier and Type Class Description static classUnifiedAgentParser.ParserTypeType of fluent parser.
-
Method Summary
All 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
-
getFieldTimeKey
public 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
-
getTypes
public Map<String,String> getTypes()
Specify types for converting a field into another type.For example, With this configuration:
- Returns:
- the value
-
getNullValuePattern
public String getNullValuePattern()
Specify the null value pattern.- Returns:
- the value
-
getIsNullEmptyString
public Boolean getIsNullEmptyString()
If true, an empty string field is replaced with a null value.- Returns:
- the value
-
getIsEstimateCurrentEvent
public Boolean getIsEstimateCurrentEvent()
If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.- Returns:
- the value
-
getIsKeepTimeKey
public Boolean getIsKeepTimeKey()
If true, keep the time field in the record.- Returns:
- the value
-
getTimeoutInMilliseconds
public Integer getTimeoutInMilliseconds()
Specify the timeout for parse processing.This is mainly for detecting an incorrect regexp pattern.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-