Interface GrokClassifier.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrokClassifier.Builder,GrokClassifier>,SdkBuilder<GrokClassifier.Builder,GrokClassifier>,SdkPojo
- Enclosing class:
- GrokClassifier
public static interface GrokClassifier.Builder extends SdkPojo, CopyableBuilder<GrokClassifier.Builder,GrokClassifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GrokClassifier.Builderclassification(String classification)An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.GrokClassifier.BuildercreationTime(Instant creationTime)The time that this classifier was registered.GrokClassifier.BuildercustomPatterns(String customPatterns)Optional custom grok patterns defined by this classifier.GrokClassifier.BuildergrokPattern(String grokPattern)The grok pattern applied to a data store by this classifier.GrokClassifier.BuilderlastUpdated(Instant lastUpdated)The time that this classifier was last updated.GrokClassifier.Buildername(String name)The name of the classifier.GrokClassifier.Builderversion(Long version)The version of this classifier.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
GrokClassifier.Builder name(String name)
The name of the classifier.
- Parameters:
name- The name of the classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classification
GrokClassifier.Builder classification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
- Parameters:
classification- An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
GrokClassifier.Builder creationTime(Instant creationTime)
The time that this classifier was registered.
- Parameters:
creationTime- The time that this classifier was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
GrokClassifier.Builder lastUpdated(Instant lastUpdated)
The time that this classifier was last updated.
- Parameters:
lastUpdated- The time that this classifier was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
GrokClassifier.Builder version(Long version)
The version of this classifier.
- Parameters:
version- The version of this classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grokPattern
GrokClassifier.Builder grokPattern(String grokPattern)
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
- Parameters:
grokPattern- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPatterns
GrokClassifier.Builder customPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
- Parameters:
customPatterns- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-