@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class UnifiedAgentLoggingRecordTransformerFilter extends UnifiedAgentLoggingFilter
Logging record transformer filter object mutates/transforms logs. Ref:
https://docs.fluentd.org/filter/record_transformer
Note: Objects should always be created or deserialized using the UnifiedAgentLoggingRecordTransformerFilter.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 the UnifiedAgentLoggingRecordTransformerFilter.Builder
, which maintain a
set of all explicitly set fields called UnifiedAgentLoggingRecordTransformerFilter.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
UnifiedAgentLoggingRecordTransformerFilter.Builder |
UnifiedAgentLoggingFilter.FilterType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UnifiedAgentLoggingRecordTransformerFilter(String name,
List<RecordTransformerPair> recordList,
Boolean isRubyEnabled,
Boolean isAutoTypecastEnabled,
Boolean isRenewRecordEnabled,
String renewTimeKey,
List<String> keepKeys,
List<String> removeKeys)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UnifiedAgentLoggingRecordTransformerFilter.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getIsAutoTypecastEnabled()
If true, automatically casts the field types.
|
Boolean |
getIsRenewRecordEnabled()
If true, it modifies a new empty hash
|
Boolean |
getIsRubyEnabled()
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 logs
|
List<String> |
getRemoveKeys()
A list of keys to delete
|
String |
getRenewTimeKey()
Overwrites the time of logs with this value, this value must be a Unix timestamp.
|
int |
hashCode() |
UnifiedAgentLoggingRecordTransformerFilter.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getName
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public UnifiedAgentLoggingRecordTransformerFilter(String name, List<RecordTransformerPair> recordList, Boolean isRubyEnabled, Boolean isAutoTypecastEnabled, Boolean isRenewRecordEnabled, String renewTimeKey, List<String> keepKeys, List<String> removeKeys)
public static UnifiedAgentLoggingRecordTransformerFilter.Builder builder()
Create a new builder.
public UnifiedAgentLoggingRecordTransformerFilter.Builder toBuilder()
public List<RecordTransformerPair> getRecordList()
Add new key-value pairs in logs
public Boolean getIsRubyEnabled()
When set to true, the full Ruby syntax is enabled in the ${} expression.
public Boolean getIsAutoTypecastEnabled()
If true, automatically casts the field types.
public Boolean getIsRenewRecordEnabled()
If true, it modifies a new empty hash
public String getRenewTimeKey()
Overwrites the time of logs with this value, this value must be a Unix timestamp.
public List<String> getKeepKeys()
A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
public String toString()
toString
in class UnifiedAgentLoggingFilter
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class UnifiedAgentLoggingFilter
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class UnifiedAgentLoggingFilter
public int hashCode()
hashCode
in class UnifiedAgentLoggingFilter
Copyright © 2016–2024. All rights reserved.