@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class XMLClassifier extends Object implements Serializable, Cloneable, StructuredPojo
A classifier for XML
content.
Constructor and Description |
---|
XMLClassifier() |
Modifier and Type | Method and Description |
---|---|
XMLClassifier |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
An identifier of the data format that the classifier matches.
|
Date |
getCreationTime()
The time this classifier was registered.
|
Date |
getLastUpdated()
The time this classifier was last updated.
|
String |
getName()
The name of the classifier.
|
String |
getRowTag()
The XML tag designating the element that contains each record in an XML document being parsed.
|
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.
|
void |
setCreationTime(Date creationTime)
The time this classifier was registered.
|
void |
setLastUpdated(Date lastUpdated)
The time this classifier was last updated.
|
void |
setName(String name)
The name of the classifier.
|
void |
setRowTag(String rowTag)
The XML tag designating the element that contains each record in an XML document being parsed.
|
void |
setVersion(Long version)
The version of this classifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
XMLClassifier |
withClassification(String classification)
An identifier of the data format that the classifier matches.
|
XMLClassifier |
withCreationTime(Date creationTime)
The time this classifier was registered.
|
XMLClassifier |
withLastUpdated(Date lastUpdated)
The time this classifier was last updated.
|
XMLClassifier |
withName(String name)
The name of the classifier.
|
XMLClassifier |
withRowTag(String rowTag)
The XML tag designating the element that contains each record in an XML document being parsed.
|
XMLClassifier |
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 XMLClassifier 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.
classification
- An identifier of the data format that the classifier matches.public String getClassification()
An identifier of the data format that the classifier matches.
public XMLClassifier withClassification(String classification)
An identifier of the data format that the classifier matches.
classification
- An identifier of the data format that the classifier matches.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 XMLClassifier 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 XMLClassifier 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 XMLClassifier withVersion(Long version)
The version of this classifier.
version
- The version of this classifier.public void setRowTag(String rowTag)
The XML tag designating the element that contains each record in an XML document being parsed. Note that this
cannot identify a self-closing element (closed by />
). An empty row element that contains only
attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).
rowTag
- The XML tag designating the element that contains each record in an XML document being parsed. Note that
this cannot identify a self-closing element (closed by />
). An empty row element that
contains only attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).public String getRowTag()
The XML tag designating the element that contains each record in an XML document being parsed. Note that this
cannot identify a self-closing element (closed by />
). An empty row element that contains only
attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).
/>
). An empty row element that
contains only attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).public XMLClassifier withRowTag(String rowTag)
The XML tag designating the element that contains each record in an XML document being parsed. Note that this
cannot identify a self-closing element (closed by />
). An empty row element that contains only
attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).
rowTag
- The XML tag designating the element that contains each record in an XML document being parsed. Note that
this cannot identify a self-closing element (closed by />
). An empty row element that
contains only attributes can be parsed as long as it ends with a closing tag (for example,
<row item_a="A" item_b="B"></row>
is okay, but
<row item_a="A" item_b="B" />
is not).public String toString()
toString
in class Object
Object.toString()
public XMLClassifier 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.