@Generated(value="OracleSDKGenerator", comments="API Version: 20200531") public final class GrokPattern extends Object
grok pattern object.
Note: Objects should always be created or deserialized using the GrokPattern.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 GrokPattern.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
GrokPattern.Builder |
| Constructor and Description |
|---|
GrokPattern(String pattern,
String name,
String fieldTimeKey,
String fieldTimeFormat,
String fieldTimeZone)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static GrokPattern.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getFieldTimeFormat()
Process value using the specified format.
|
String |
getFieldTimeKey()
Specify the time field for the event time.
|
String |
getFieldTimeZone()
Use the specified time zone.
|
String |
getName()
The name key to tag this grok pattern.
|
String |
getPattern()
The grok pattern.
|
int |
hashCode() |
GrokPattern.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"pattern","name","fieldTimeKey","fieldTimeFormat","fieldTimeZone"}) @Deprecated public GrokPattern(String pattern, String name, String fieldTimeKey, String fieldTimeFormat, String fieldTimeZone)
public static GrokPattern.Builder builder()
Create a new builder.
public GrokPattern.Builder toBuilder()
public String getPattern()
The grok pattern.
public String getName()
The name key to tag this grok pattern.
public String getFieldTimeKey()
Specify the time field for the event time. If the event doesn’t have this field, the current time is used.
public String getFieldTimeFormat()
Process value using the specified format. This is available only when time_type is a string.
public String getFieldTimeZone()
Use the specified time zone. The time value can be parsed or formatted in the specified time zone.
Copyright © 2016–2021. All rights reserved.