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 UnifiedAgentParserSyslog 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 classUnifiedAgentSyslogParser.Builderstatic classUnifiedAgentSyslogParser.MessageFormatSyslog message format.static classUnifiedAgentSyslogParser.SyslogParserTypeSyslog 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.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsSupportColonlessIdent()Specifies whether or not to support colonless ident.BooleangetIsWithPriority()Specifies with priority or not.UnifiedAgentSyslogParser.MessageFormatgetMessageFormat()Syslog message format.StringgetRfc5424TimeFormat()RFC 5424 time format.UnifiedAgentSyslogParser.SyslogParserTypegetSyslogParserType()Syslog parser type.StringgetTimeFormat()Time format.inthashCode()UnifiedAgentSyslogParser.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classUnifiedAgentParser
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classUnifiedAgentParser- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUnifiedAgentParser
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnifiedAgentParser
-
-