@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGrokClassifierRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Grok classifier to update when passed to UpdateClassifier.
Constructor and Description |
---|
UpdateGrokClassifierRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGrokClassifierRequest |
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
GrokClassifier . |
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
GrokClassifier . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateGrokClassifierRequest |
withClassification(String classification)
The type of result that the classifier matches, such as Twitter Json, Omniture logs, Cloudwatch logs, and so
forth.
|
UpdateGrokClassifierRequest |
withCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
|
UpdateGrokClassifierRequest |
withGrokPattern(String grokPattern)
The grok pattern used by this classifier.
|
UpdateGrokClassifierRequest |
withName(String name)
The name of the
GrokClassifier . |
public void setName(String name)
The name of the GrokClassifier
.
name
- The name of the GrokClassifier
.public String getName()
The name of the GrokClassifier
.
GrokClassifier
.public UpdateGrokClassifierRequest withName(String name)
The name of the GrokClassifier
.
name
- The name of the GrokClassifier
.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 UpdateGrokClassifierRequest 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 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 UpdateGrokClassifierRequest 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 UpdateGrokClassifierRequest 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 UpdateGrokClassifierRequest 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.