@Stability(value=Stable)
public static interface CfnClassifier.GrokClassifierProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
GrokClassifierProperty grokClassifierProperty = GrokClassifierProperty.builder()
.classification("classification")
.grokPattern("grokPattern")
// the properties below are optional
.customPatterns("customPatterns")
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClassifier.GrokClassifierProperty.Builder
A builder for
CfnClassifier.GrokClassifierProperty |
static class |
CfnClassifier.GrokClassifierProperty.Jsii$Proxy
An implementation for
CfnClassifier.GrokClassifierProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnClassifier.GrokClassifierProperty.Builder |
builder() |
String |
getClassification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
|
default String |
getCustomPatterns()
Optional custom grok patterns defined by this classifier.
|
String |
getGrokPattern()
The grok pattern applied to a data store by this classifier.
|
default String |
getName()
The name of the classifier.
|
@Stability(value=Stable) @NotNull String getClassification()
@Stability(value=Stable) @NotNull String getGrokPattern()
For more information, see built-in patterns in Writing Custom Classifiers .
@Stability(value=Stable) @Nullable default String getCustomPatterns()
For more information, see custom patterns in Writing Custom Classifiers .
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) static CfnClassifier.GrokClassifierProperty.Builder builder()
Copyright © 2022. All rights reserved.