@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()
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 new classifier.
|
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 new classifier.
|
String |
toString()
Returns a string representation of this object.
|
CreateGrokClassifierRequest |
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.
|
CreateGrokClassifierRequest |
withCustomPatterns(String customPatterns)
Optional 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)
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 CreateGrokClassifierRequest 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 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)
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 CreateGrokClassifierRequest 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 CreateGrokClassifierRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.