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.ExplicitlySetBmcModel
Source 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 class
UnifiedAgentParser.ParserType
Type of fluent parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getFieldTimeKey()
Specifies the time field for the event time.Boolean
getIsEstimateCurrentEvent()
If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.Boolean
getIsKeepTimeKey()
If true, keep the time field in the record.Boolean
getIsNullEmptyString()
If true, an empty string field is replaced with a null value.String
getNullValuePattern()
Specify the null value pattern.Integer
getTimeoutInMilliseconds()
Specify the timeout for parse processing.Map<String,String>
getTypes()
Specify types for converting a field into another type.int
hashCode()
String
toString()
String
toString(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:
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
-
-