@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 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 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) |
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 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 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; useful for testing and debugging.
|
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 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 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 this classifier was registered.
creationTime
- The time this classifier was registered.public Date getCreationTime()
The time this classifier was registered.
public GrokClassifier withCreationTime(Date creationTime)
The time this classifier was registered.
creationTime
- The time this classifier was registered.public void setLastUpdated(Date lastUpdated)
The time this classifier was last updated.
lastUpdated
- The time this classifier was last updated.public Date getLastUpdated()
The time this classifier was last updated.
public GrokClassifier withLastUpdated(Date lastUpdated)
The time this classifier was last updated.
lastUpdated
- The time 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 Classifers.
grokPattern
- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns
in Writing Custom
Classifers.public String getGrokPattern()
The grok pattern applied to a data store by this classifier. For more information, see built-in patterns in Writing Custom Classifers.
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 Classifers.
grokPattern
- The grok pattern applied to a data store by this classifier. For more information, see built-in patterns
in Writing Custom
Classifers.public void setCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.
customPatterns
- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.public String getCustomPatterns()
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.
public GrokClassifier withCustomPatterns(String customPatterns)
Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.
customPatterns
- Optional custom grok patterns defined by this classifier. For more information, see custom patterns in Writing Custom Classifers.public String toString()
toString
in class Object
Object.toString()
public GrokClassifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.