@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JsonClassifier extends Object implements Serializable, Cloneable, StructuredPojo
A classifier for JSON
content.
Constructor and Description |
---|
JsonClassifier() |
Modifier and Type | Method and Description |
---|---|
JsonClassifier |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time that this classifier was registered.
|
String |
getJsonPath()
A
JsonPath string defining the JSON data for the classifier to classify. |
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 |
setCreationTime(Date creationTime)
The time that this classifier was registered.
|
void |
setJsonPath(String jsonPath)
A
JsonPath string defining the JSON data for the classifier to classify. |
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.
|
JsonClassifier |
withCreationTime(Date creationTime)
The time that this classifier was registered.
|
JsonClassifier |
withJsonPath(String jsonPath)
A
JsonPath string defining the JSON data for the classifier to classify. |
JsonClassifier |
withLastUpdated(Date lastUpdated)
The time that this classifier was last updated.
|
JsonClassifier |
withName(String name)
The name of the classifier.
|
JsonClassifier |
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 JsonClassifier withName(String name)
The name of the classifier.
name
- The name of the classifier.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 JsonClassifier 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 JsonClassifier 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 JsonClassifier withVersion(Long version)
The version of this classifier.
version
- The version of this classifier.public void setJsonPath(String jsonPath)
A JsonPath
string defining the JSON data for the classifier to classify. Glue supports a subset of
JsonPath, as described in Writing JsonPath
Custom Classifiers.
jsonPath
- A JsonPath
string defining the JSON data for the classifier to classify. Glue supports a
subset of JsonPath, as described in Writing
JsonPath Custom Classifiers.public String getJsonPath()
A JsonPath
string defining the JSON data for the classifier to classify. Glue supports a subset of
JsonPath, as described in Writing JsonPath
Custom Classifiers.
JsonPath
string defining the JSON data for the classifier to classify. Glue supports a
subset of JsonPath, as described in Writing
JsonPath Custom Classifiers.public JsonClassifier withJsonPath(String jsonPath)
A JsonPath
string defining the JSON data for the classifier to classify. Glue supports a subset of
JsonPath, as described in Writing JsonPath
Custom Classifiers.
jsonPath
- A JsonPath
string defining the JSON data for the classifier to classify. Glue supports a
subset of JsonPath, as described in Writing
JsonPath Custom Classifiers.public String toString()
toString
in class Object
Object.toString()
public JsonClassifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.