@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrokClassifier extends Object implements Serializable, Cloneable, StructuredPojo
A classifier that uses grok
patterns.
Constructor and Description |
---|
GrokClassifier() |
Modifier and Type | Method and Description |
---|---|
GrokClassifier |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
|
Date |
getCreationTime()
The time that this classifier was registered.
|
String |
getCustomPatterns()
Optional custom grok patterns defined by this classifier.
|
String |
getGrokPattern()
The grok pattern applied to a data store by this classifier.
|
Date |
getLastUpdated()
The time that this classifier was last updated.
|
String |
getName()
The name of the classifier.
|
Long |
getVersion()
The version of this 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, and so on.
|
void |
setCreationTime(Date creationTime)
The time that this classifier was registered.
|
void |
setCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier.
|
void |
setGrokPattern(String grokPattern)
The grok pattern applied to a data store by this classifier.
|
void |
setLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
|
void |
setName(String name)
The name of the classifier.
|
void |
setVersion(Long version)
The version of this classifier.
|
String |
toString()
Returns a string representation of this object.
|
GrokClassifier |
withClassification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
|
GrokClassifier |
withCreationTime(Date creationTime)
The time that this classifier was registered.
|
GrokClassifier |
withCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier.
|
GrokClassifier |
withGrokPattern(String grokPattern)
The grok pattern applied to a data store by this classifier.
|
GrokClassifier |
withLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
|
GrokClassifier |
withName(String name)
The name of the classifier.
|
GrokClassifier |
withVersion(Long version)
The version of this classifier.
|
public void setName(String name)
The name of the classifier.
name
- The name of the classifier.public String getName()
The name of the classifier.
public GrokClassifier withName(String name)
The name of the classifier.
name
- The name of the classifier.public void setClassification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
classification
- An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so
on.public String getClassification()
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
public GrokClassifier withClassification(String classification)
An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so on.
classification
- An identifier of the data format that the classifier matches, such as Twitter, JSON, Omniture logs, and so
on.public void setCreationTime(Date creationTime)
The time that this classifier was registered.
creationTime
- The time that this classifier was registered.public Date getCreationTime()
The time that this classifier was registered.
public GrokClassifier withCreationTime(Date creationTime)
The time that this classifier was registered.
creationTime
- The time that this classifier was registered.public void setLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
lastUpdated
- The time that this classifier was last updated.public Date getLastUpdated()
The time that this classifier was last updated.
public GrokClassifier withLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
lastUpdated
- The time that this classifier was last updated.public void setVersion(Long version)
The version of this classifier.
version
- The version of this classifier.public Long getVersion()
The version of this classifier.
public GrokClassifier withVersion(Long version)
The version of this classifier.
version
- The version of this classifier.public void setGrokPattern(String grokPattern)
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
grokPattern
- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns
in Writing Custom
Classifiers.public String getGrokPattern()
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
public GrokClassifier withGrokPattern(String grokPattern)
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifiers.
grokPattern
- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns
in Writing Custom
Classifiers.public void setCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
customPatterns
- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.public String getCustomPatterns()
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
public GrokClassifier withCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.
customPatterns
- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifiers.public String toString()
toString
in class Object
Object.toString()
public GrokClassifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.