@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGrokClassifierRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Grok classifier for CreateClassifier to create.
Constructor and Description |
---|
CreateGrokClassifierRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGrokClassifierRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so
forth.
|
String |
getCustomPatterns()
Custom grok patterns used by this classifier.
|
String |
getGrokPattern()
The grok pattern used by this classifier.
|
String |
getName()
The name of the new Classifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassification(String classification)
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so
forth.
|
void |
setCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
|
void |
setGrokPattern(String grokPattern)
The grok pattern used by this classifier.
|
void |
setName(String name)
The name of the new Classifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateGrokClassifierRequest |
withClassification(String classification)
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so
forth.
|
CreateGrokClassifierRequest |
withCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
|
CreateGrokClassifierRequest |
withGrokPattern(String grokPattern)
The grok pattern used by this classifier.
|
CreateGrokClassifierRequest |
withName(String name)
The name of the new Classifier.
|
public void setClassification(String classification)
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so forth.
classification
- The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and
so forth.public String getClassification()
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so forth.
public CreateGrokClassifierRequest withClassification(String classification)
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so forth.
classification
- The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and
so forth.public void setName(String name)
The name of the new Classifier.
name
- The name of the new Classifier.public String getName()
The name of the new Classifier.
public CreateGrokClassifierRequest withName(String name)
The name of the new Classifier.
name
- The name of the new Classifier.public void setGrokPattern(String grokPattern)
The grok pattern used by this classifier.
grokPattern
- The grok pattern used by this classifier.public String getGrokPattern()
The grok pattern used by this classifier.
public CreateGrokClassifierRequest withGrokPattern(String grokPattern)
The grok pattern used by this classifier.
grokPattern
- The grok pattern used by this classifier.public void setCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
customPatterns
- Custom grok patterns used by this classifier.public String getCustomPatterns()
Custom grok patterns used by this classifier.
public CreateGrokClassifierRequest withCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
customPatterns
- Custom grok patterns used by this classifier.public String toString()
toString
in class Object
Object.toString()
public CreateGrokClassifierRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.