你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SendMessageResult Class
- java.
lang. Object - com.
azure. storage. queue. models. SendMessageResult
- com.
Implements
public final class SendMessageResult
implements XmlSerializable<SendMessageResult>
The object returned in the QueueMessageList array when calling Put Message on a Queue.
Constructor Summary
Constructor | Description |
---|---|
SendMessageResult() |
Creates an instance of Send |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Send |
fromXml(XmlReader xmlReader)
Reads an instance of Send |
static
Send |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Send |
Offset |
getExpirationTime()
Get the expiration |
Offset |
getInsertionTime()
Get the insertion |
String |
getMessageId()
Get the message |
String |
getPopReceipt()
Get the pop |
Offset |
getTimeNextVisible()
Get the time |
Send |
setExpirationTime(OffsetDateTime expirationTime)
Set the expiration |
Send |
setInsertionTime(OffsetDateTime insertionTime)
Set the insertion |
Send |
setMessageId(String messageId)
Set the message |
Send |
setPopReceipt(String popReceipt)
Set the pop |
Send |
setTimeNextVisible(OffsetDateTime timeNextVisible)
Set the time |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
SendMessageResult
public SendMessageResult()
Creates an instance of SendMessageResult class.
Method Details
fromXml
public static SendMessageResult fromXml(XmlReader xmlReader)
Reads an instance of SendMessageResult from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static SendMessageResult fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of SendMessageResult from the XmlReader.
Parameters:
Returns:
Throws:
getExpirationTime
public OffsetDateTime getExpirationTime()
Get the expirationTime property: The time that the Message will expire and be automatically deleted.
Returns:
getInsertionTime
public OffsetDateTime getInsertionTime()
Get the insertionTime property: The time the Message was inserted into the Queue.
Returns:
getMessageId
public String getMessageId()
Get the messageId property: The Id of the Message.
Returns:
getPopReceipt
public String getPopReceipt()
Get the popReceipt property: This value is required to delete the Message. If deletion fails using this popreceipt then the message has been dequeued by another client.
Returns:
getTimeNextVisible
public OffsetDateTime getTimeNextVisible()
Get the timeNextVisible property: The time that the message will again become visible in the Queue.
Returns:
setExpirationTime
public SendMessageResult setExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: The time that the Message will expire and be automatically deleted.
Parameters:
Returns:
setInsertionTime
public SendMessageResult setInsertionTime(OffsetDateTime insertionTime)
Set the insertionTime property: The time the Message was inserted into the Queue.
Parameters:
Returns:
setMessageId
public SendMessageResult setMessageId(String messageId)
Set the messageId property: The Id of the Message.
Parameters:
Returns:
setPopReceipt
public SendMessageResult setPopReceipt(String popReceipt)
Set the popReceipt property: This value is required to delete the Message. If deletion fails using this popreceipt then the message has been dequeued by another client.
Parameters:
Returns:
setTimeNextVisible
public SendMessageResult setTimeNextVisible(OffsetDateTime timeNextVisible)
Set the timeNextVisible property: The time that the message will again become visible in the Queue.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws: