public class GetServiceStatusResult extends AbstractMwsObject
<complexType name="GetServiceStatusResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="MessageId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Messages" type="{https://mws.amazonservices.com/Orders/2013-09-01}Message" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
GetServiceStatusResult()
Default constructor.
|
GetServiceStatusResult(String status,
XMLGregorianCalendar timestamp,
String messageId,
List<Message> messages)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageId()
Get the value of MessageId.
|
List<Message> |
getMessages()
Get the value of Messages.
|
String |
getStatus()
Get the value of Status.
|
XMLGregorianCalendar |
getTimestamp()
Get the value of Timestamp.
|
boolean |
isSetMessageId()
Check to see if MessageId is set.
|
boolean |
isSetMessages()
Check to see if Messages is set.
|
boolean |
isSetStatus()
Check to see if Status is set.
|
boolean |
isSetTimestamp()
Check to see if Timestamp is set.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setMessageId(String messageId)
Set the value of MessageId.
|
void |
setMessages(List<Message> messages)
Set the value of Messages.
|
void |
setStatus(String status)
Set the value of Status.
|
void |
setTimestamp(XMLGregorianCalendar timestamp)
Set the value of Timestamp.
|
void |
unsetMessages()
Clear Messages.
|
GetServiceStatusResult |
withMessageId(String messageId)
Set the value of MessageId, return this.
|
GetServiceStatusResult |
withMessages(Message... values)
Add values for Messages, return this.
|
GetServiceStatusResult |
withStatus(String status)
Set the value of Status, return this.
|
GetServiceStatusResult |
withTimestamp(XMLGregorianCalendar timestamp)
Set the value of Timestamp, return this.
|
void |
writeFragmentTo(MwsWriter w)
Write members to a MwsWriter.
|
void |
writeTo(MwsWriter w)
Write tag, xmlns and members to a MwsWriter.
|
toJSON, toJSONFragment, toXML, toXMLFragmentpublic GetServiceStatusResult(String status, XMLGregorianCalendar timestamp, String messageId, List<Message> messages)
public GetServiceStatusResult()
public String getStatus()
public void setStatus(String status)
status - The new value to set.public boolean isSetStatus()
public GetServiceStatusResult withStatus(String status)
status - The new value to set.public XMLGregorianCalendar getTimestamp()
public void setTimestamp(XMLGregorianCalendar timestamp)
timestamp - The new value to set.public boolean isSetTimestamp()
public GetServiceStatusResult withTimestamp(XMLGregorianCalendar timestamp)
timestamp - The new value to set.public String getMessageId()
public void setMessageId(String messageId)
messageId - The new value to set.public boolean isSetMessageId()
public GetServiceStatusResult withMessageId(String messageId)
messageId - The new value to set.public List<Message> getMessages()
public void setMessages(List<Message> messages)
messages - The new value to set.public void unsetMessages()
public boolean isSetMessages()
public GetServiceStatusResult withMessages(Message... values)
messages - New values to add.public void readFragmentFrom(MwsReader r)
r - The reader to read from.public void writeFragmentTo(MwsWriter w)
w - The writer to write to.public void writeTo(MwsWriter w)
w - The Writer to write to.Copyright © 2014. All Rights Reserved.