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 grok patterns.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GrokClassifier.Builderbuilder()final StringAn identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.final InstantThe time that this classifier was registered.final StringOptional custom grok patterns defined by this classifier.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final StringThe grok pattern applied to a data store by this classifier.final inthashCode()final InstantThe time that this classifier was last updated.final Stringname()The name of the classifier.static Class<? extends GrokClassifier.Builder>final StringtoString()Returns a string representation of this object.final Longversion()The version of this classifier.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the classifier.
- Returns:
- The name of the classifier.
-
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
The time that this classifier was registered.
- Returns:
- The time that this classifier was registered.
-
lastUpdated
The time that this classifier was last updated.
- Returns:
- The time that this classifier was last updated.
-
version
The version of this classifier.
- Returns:
- The version of this classifier.
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<GrokClassifier.Builder,GrokClassifier>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-