Package com.oracle.bmc.logging.model
Class UnifiedAgentSyslogParser
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.logging.model.UnifiedAgentParser
-
- com.oracle.bmc.logging.model.UnifiedAgentSyslogParser
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class UnifiedAgentSyslogParser extends UnifiedAgentParser
Syslog Parser.
Note: Objects should always be created or deserialized using theUnifiedAgentSyslogParser.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 theUnifiedAgentSyslogParser.Builder
, which maintain a set of all explicitly set fields calledUnifiedAgentSyslogParser.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
UnifiedAgentSyslogParser.Builder
static class
UnifiedAgentSyslogParser.MessageFormat
Syslog message format.static class
UnifiedAgentSyslogParser.SyslogParserType
Syslog parser type.-
Nested classes/interfaces inherited from class com.oracle.bmc.logging.model.UnifiedAgentParser
UnifiedAgentParser.ParserType
-
-
Constructor Summary
Constructors Constructor Description UnifiedAgentSyslogParser(String fieldTimeKey, Map<String,String> types, String nullValuePattern, Boolean isNullEmptyString, Boolean isEstimateCurrentEvent, Boolean isKeepTimeKey, Integer timeoutInMilliseconds, String timeFormat, String rfc5424TimeFormat, UnifiedAgentSyslogParser.MessageFormat messageFormat, Boolean isWithPriority, Boolean isSupportColonlessIdent, UnifiedAgentSyslogParser.SyslogParserType syslogParserType)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnifiedAgentSyslogParser.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getIsSupportColonlessIdent()
Specifies whether or not to support colonless ident.Boolean
getIsWithPriority()
Specifies with priority or not.UnifiedAgentSyslogParser.MessageFormat
getMessageFormat()
Syslog message format.String
getRfc5424TimeFormat()
RFC 5424 time format.UnifiedAgentSyslogParser.SyslogParserType
getSyslogParserType()
Syslog parser type.String
getTimeFormat()
Time format.int
hashCode()
UnifiedAgentSyslogParser.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.logging.model.UnifiedAgentParser
getFieldTimeKey, getIsEstimateCurrentEvent, getIsKeepTimeKey, getIsNullEmptyString, getNullValuePattern, getTimeoutInMilliseconds, getTypes
-
-
-
-
Constructor Detail
-
UnifiedAgentSyslogParser
@Deprecated public UnifiedAgentSyslogParser(String fieldTimeKey, Map<String,String> types, String nullValuePattern, Boolean isNullEmptyString, Boolean isEstimateCurrentEvent, Boolean isKeepTimeKey, Integer timeoutInMilliseconds, String timeFormat, String rfc5424TimeFormat, UnifiedAgentSyslogParser.MessageFormat messageFormat, Boolean isWithPriority, Boolean isSupportColonlessIdent, UnifiedAgentSyslogParser.SyslogParserType syslogParserType)
Deprecated.
-
-
Method Detail
-
builder
public static UnifiedAgentSyslogParser.Builder builder()
Create a new builder.
-
toBuilder
public UnifiedAgentSyslogParser.Builder toBuilder()
-
getTimeFormat
public String getTimeFormat()
Time format.- Returns:
- the value
-
getRfc5424TimeFormat
public String getRfc5424TimeFormat()
RFC 5424 time format.- Returns:
- the value
-
getMessageFormat
public UnifiedAgentSyslogParser.MessageFormat getMessageFormat()
Syslog message format.- Returns:
- the value
-
getIsWithPriority
public Boolean getIsWithPriority()
Specifies with priority or not.Corresponds to the Fluentd with_priority parameter.
- Returns:
- the value
-
getIsSupportColonlessIdent
public Boolean getIsSupportColonlessIdent()
Specifies whether or not to support colonless ident.Corresponds to the Fluentd support_colonless_ident parameter.
- Returns:
- the value
-
getSyslogParserType
public UnifiedAgentSyslogParser.SyslogParserType getSyslogParserType()
Syslog parser type.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classUnifiedAgentParser
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUnifiedAgentParser
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUnifiedAgentParser
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUnifiedAgentParser
-
-