@Generated(value="software.amazon.awssdk:codegen") public class GrokClassifier extends Object implements StructuredPojo, ToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
A classifier that uses grok
patterns.
Modifier and Type | Class and Description |
---|---|
static interface |
GrokClassifier.Builder |
Modifier and Type | Method and Description |
---|---|
static GrokClassifier.Builder |
builder() |
String |
classification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
|
Instant |
creationTime()
The time this classifier was registered.
|
String |
customPatterns()
Optional custom grok patterns defined by this classifier.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grokPattern()
The grok pattern applied to a data store by this classifier.
|
int |
hashCode() |
Instant |
lastUpdated()
The time this classifier was last updated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the classifier.
|
static Class<? extends GrokClassifier.Builder> |
serializableBuilderClass() |
GrokClassifier.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
version()
The version of this classifier.
|
copy
public String name()
The name of the classifier.
public String classification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
public Instant creationTime()
The time this classifier was registered.
public Instant lastUpdated()
The time this classifier was last updated.
public Long version()
The version of this classifier.
public String grokPattern()
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifers.
public String customPatterns()
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.
public GrokClassifier.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
public static GrokClassifier.Builder builder()
public static Class<? extends GrokClassifier.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.