@Generated(value="software.amazon.awssdk:codegen") public final class CreateGrokClassifierRequest extends Object implements StructuredPojo, ToCopyableBuilder<CreateGrokClassifierRequest.Builder,CreateGrokClassifierRequest>
Specifies a grok
classifier for CreateClassifier
to create.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateGrokClassifierRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateGrokClassifierRequest.Builder |
builder() |
String |
classification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon
CloudWatch Logs, and so on.
|
String |
customPatterns()
Optional custom grok patterns used by this classifier.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grokPattern()
The grok pattern used by this classifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the new classifier.
|
static Class<? extends CreateGrokClassifierRequest.Builder> |
serializableBuilderClass() |
CreateGrokClassifierRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String classification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
public String name()
The name of the new classifier.
public String grokPattern()
The grok pattern used by this classifier.
public String customPatterns()
Optional custom grok patterns used by this classifier.
public CreateGrokClassifierRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateGrokClassifierRequest.Builder,CreateGrokClassifierRequest>
public static CreateGrokClassifierRequest.Builder builder()
public static Class<? extends CreateGrokClassifierRequest.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.