Class GrokClassifier
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.GrokClassifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
@Generated("software.amazon.awssdk:codegen") public final class GrokClassifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
A classifier that uses
grokpatterns.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGrokClassifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrokClassifier.Builderbuilder()Stringclassification()An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.InstantcreationTime()The time that this classifier was registered.StringcustomPatterns()Optional custom grok patterns defined by this classifier.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgrokPattern()The grok pattern applied to a data store by this classifier.inthashCode()InstantlastUpdated()The time that this classifier was last updated.Stringname()The name of the classifier.List<SdkField<?>>sdkFields()static Class<? extends GrokClassifier.Builder>serializableBuilderClass()GrokClassifier.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longversion()The version of this classifier.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the classifier.
- Returns:
- The name of the classifier.
-
classification
public final String classification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
- Returns:
- An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
-
creationTime
public final Instant creationTime()
The time that this classifier was registered.
- Returns:
- The time that this classifier was registered.
-
lastUpdated
public final Instant lastUpdated()
The time that this classifier was last updated.
- Returns:
- The time that this classifier was last updated.
-
version
public final Long version()
The version of this classifier.
- Returns:
- The version of this classifier.
-
grokPattern
public final String grokPattern()
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
- Returns:
- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
-
customPatterns
public final String customPatterns()
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
- Returns:
- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
-
toBuilder
public GrokClassifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
-
builder
public static GrokClassifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends GrokClassifier.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-