@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrokClassifier extends Object implements Serializable, Cloneable, StructuredPojo
A classifier that uses grok
.
Constructor and Description |
---|
GrokClassifier() |
Modifier and Type | Method and Description |
---|---|
GrokClassifier |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
|
Date |
getCreationTime()
The time this classifier was registered.
|
String |
getCustomPatterns()
Custom grok patterns used by this classifier.
|
String |
getGrokPattern()
The grok pattern used 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassification(String classification)
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
|
void |
setCreationTime(Date creationTime)
The time this classifier was registered.
|
void |
setCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
|
void |
setGrokPattern(String grokPattern)
The grok pattern used 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)
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
|
GrokClassifier |
withCreationTime(Date creationTime)
The time this classifier was registered.
|
GrokClassifier |
withCustomPatterns(String customPatterns)
Custom grok patterns used by this classifier.
|
GrokClassifier |
withGrokPattern(String grokPattern)
The grok pattern used 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)
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
classification
- The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.public String getClassification()
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
public GrokClassifier withClassification(String classification)
The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.
classification
- The data form that the classifier matches, such as Twitter, JSON, Omniture Logs, and so forth.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 used by this classifier.
grokPattern
- The grok pattern used by this classifier.public String getGrokPattern()
The grok pattern used by this classifier.
public GrokClassifier 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 GrokClassifier 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 GrokClassifier 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.