Class UnifiedAgentLoggingRecordTransformerFilter
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.logging.model.UnifiedAgentLoggingFilter
-
- com.oracle.bmc.logging.model.UnifiedAgentLoggingRecordTransformerFilter
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class UnifiedAgentLoggingRecordTransformerFilter extends UnifiedAgentLoggingFilterLogging record transformer filter object mutates/transforms logs.Ref: https://docs.fluentd.org/filter/record_transformer
Note: Objects should always be created or deserialized using theUnifiedAgentLoggingRecordTransformerFilter.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 theUnifiedAgentLoggingRecordTransformerFilter.Builder, which maintain a set of all explicitly set fields calledUnifiedAgentLoggingRecordTransformerFilter.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 classUnifiedAgentLoggingRecordTransformerFilter.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.logging.model.UnifiedAgentLoggingFilter
UnifiedAgentLoggingFilter.FilterType
-
-
Constructor Summary
Constructors Constructor Description UnifiedAgentLoggingRecordTransformerFilter(String name, List<RecordTransformerPair> recordList, Boolean isRubyEnabled, Boolean isAutoTypecastEnabled, Boolean isRenewRecordEnabled, String renewTimeKey, List<String> keepKeys, List<String> removeKeys)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnifiedAgentLoggingRecordTransformerFilter.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsAutoTypecastEnabled()If true, automatically casts the field types.BooleangetIsRenewRecordEnabled()If true, it modifies a new empty hashBooleangetIsRubyEnabled()When set to true, the full Ruby syntax is enabled in the ${} expression.List<String>getKeepKeys()A list of keys to keep.List<RecordTransformerPair>getRecordList()Add new key-value pairs in logsList<String>getRemoveKeys()A list of keys to deleteStringgetRenewTimeKey()Overwrites the time of logs with this value, this value must be a Unix timestamp.inthashCode()UnifiedAgentLoggingRecordTransformerFilter.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.logging.model.UnifiedAgentLoggingFilter
getName
-
-
-
-
Constructor Detail
-
UnifiedAgentLoggingRecordTransformerFilter
@Deprecated public UnifiedAgentLoggingRecordTransformerFilter(String name, List<RecordTransformerPair> recordList, Boolean isRubyEnabled, Boolean isAutoTypecastEnabled, Boolean isRenewRecordEnabled, String renewTimeKey, List<String> keepKeys, List<String> removeKeys)
Deprecated.
-
-
Method Detail
-
builder
public static UnifiedAgentLoggingRecordTransformerFilter.Builder builder()
Create a new builder.
-
toBuilder
public UnifiedAgentLoggingRecordTransformerFilter.Builder toBuilder()
-
getRecordList
public List<RecordTransformerPair> getRecordList()
Add new key-value pairs in logs- Returns:
- the value
-
getIsRubyEnabled
public Boolean getIsRubyEnabled()
When set to true, the full Ruby syntax is enabled in the ${} expression.- Returns:
- the value
-
getIsAutoTypecastEnabled
public Boolean getIsAutoTypecastEnabled()
If true, automatically casts the field types.- Returns:
- the value
-
getIsRenewRecordEnabled
public Boolean getIsRenewRecordEnabled()
If true, it modifies a new empty hash- Returns:
- the value
-
getRenewTimeKey
public String getRenewTimeKey()
Overwrites the time of logs with this value, this value must be a Unix timestamp.- Returns:
- the value
-
getKeepKeys
public List<String> getKeepKeys()
A list of keys to keep.Only relevant if isRenewRecordEnabled is set to true
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classUnifiedAgentLoggingFilter
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classUnifiedAgentLoggingFilter- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUnifiedAgentLoggingFilter
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnifiedAgentLoggingFilter
-
-