@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()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon
CloudWatch Logs, and so on.
|
String |
getCustomPatterns()
Optional 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)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon
CloudWatch Logs, and so on.
|
void |
setCustomPatterns(String customPatterns)
Optional 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.
|
UpdateGrokClassifierRequest |
withClassification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon
CloudWatch Logs, and so on.
|
UpdateGrokClassifierRequest |
withCustomPatterns(String customPatterns)
Optional 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)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
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 getClassification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
public UpdateGrokClassifierRequest withClassification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
classification
- An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, Amazon
CloudWatch Logs, and so on.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)
Optional custom grok patterns used by this classifier.
customPatterns
- Optional custom grok patterns used by this classifier.public String getCustomPatterns()
Optional custom grok patterns used by this classifier.
public UpdateGrokClassifierRequest withCustomPatterns(String customPatterns)
Optional custom grok patterns used by this classifier.
customPatterns
- Optional 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.