@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class UnifiedAgentLoggingGrepFilter extends UnifiedAgentLoggingFilter
Logging grep filter object greps events by the values of specified fields. Ref:
https://docs.fluentd.org/filter/grep
Note: Objects should always be created or deserialized using the UnifiedAgentLoggingGrepFilter.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 UnifiedAgentLoggingGrepFilter.Builder
, which maintain a
set of all explicitly set fields called UnifiedAgentLoggingGrepFilter.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 |
UnifiedAgentLoggingGrepFilter.Builder |
UnifiedAgentLoggingFilter.FilterType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UnifiedAgentLoggingGrepFilter(String name,
List<GrepFilterAllowRule> allowList,
List<GrepFilterDenyRule> denyList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UnifiedAgentLoggingGrepFilter.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<GrepFilterAllowRule> |
getAllowList()
A list of filtering rules to include logs
|
List<GrepFilterDenyRule> |
getDenyList()
A list of filtering rules to reject logs
|
int |
hashCode() |
UnifiedAgentLoggingGrepFilter.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getName
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public UnifiedAgentLoggingGrepFilter(String name, List<GrepFilterAllowRule> allowList, List<GrepFilterDenyRule> denyList)
public static UnifiedAgentLoggingGrepFilter.Builder builder()
Create a new builder.
public UnifiedAgentLoggingGrepFilter.Builder toBuilder()
public List<GrepFilterAllowRule> getAllowList()
A list of filtering rules to include logs
public List<GrepFilterDenyRule> getDenyList()
A list of filtering rules to reject logs
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.