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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Longversion()The version of this classifier.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GrokClassifier.Builder,GrokClassifier> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-