Package com.azure.storage.queue.models
Class SendMessageResult
- java.lang.Object
-
- com.azure.storage.queue.models.SendMessageResult
-
public final class SendMessageResult extends Object
The object returned in the QueueMessageList array when calling Put Message on a Queue.
-
-
Constructor Summary
Constructors Constructor Description SendMessageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimegetExpirationTime()Get the expirationTime property: The time that the Message will expire and be automatically deleted.OffsetDateTimegetInsertionTime()Get the insertionTime property: The time the Message was inserted into the Queue.StringgetMessageId()Get the messageId property: The Id of the Message.StringgetPopReceipt()Get the popReceipt property: This value is required to delete the Message.OffsetDateTimegetTimeNextVisible()Get the timeNextVisible property: The time that the message will again become visible in the Queue.SendMessageResultsetExpirationTime(OffsetDateTime expirationTime)Set the expirationTime property: The time that the Message will expire and be automatically deleted.SendMessageResultsetInsertionTime(OffsetDateTime insertionTime)Set the insertionTime property: The time the Message was inserted into the Queue.SendMessageResultsetMessageId(String messageId)Set the messageId property: The Id of the Message.SendMessageResultsetPopReceipt(String popReceipt)Set the popReceipt property: This value is required to delete the Message.SendMessageResultsetTimeNextVisible(OffsetDateTime timeNextVisible)Set the timeNextVisible property: The time that the message will again become visible in the Queue.
-
-
-
Method Detail
-
getMessageId
public String getMessageId()
Get the messageId property: The Id of the Message.- Returns:
- the messageId value.
-
setMessageId
public SendMessageResult setMessageId(String messageId)
Set the messageId property: The Id of the Message.- Parameters:
messageId- the messageId value to set.- Returns:
- the SendMessageResult object itself.
-
getInsertionTime
public OffsetDateTime getInsertionTime()
Get the insertionTime property: The time the Message was inserted into the Queue.- Returns:
- the insertionTime value.
-
setInsertionTime
public SendMessageResult setInsertionTime(OffsetDateTime insertionTime)
Set the insertionTime property: The time the Message was inserted into the Queue.- Parameters:
insertionTime- the insertionTime value to set.- Returns:
- the SendMessageResult object itself.
-
getExpirationTime
public OffsetDateTime getExpirationTime()
Get the expirationTime property: The time that the Message will expire and be automatically deleted.- Returns:
- the expirationTime value.
-
setExpirationTime
public SendMessageResult setExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: The time that the Message will expire and be automatically deleted.- Parameters:
expirationTime- the expirationTime value to set.- Returns:
- the SendMessageResult object itself.
-
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:
- the popReceipt value.
-
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:
popReceipt- the popReceipt value to set.- Returns:
- the SendMessageResult object itself.
-
getTimeNextVisible
public OffsetDateTime getTimeNextVisible()
Get the timeNextVisible property: The time that the message will again become visible in the Queue.- Returns:
- the timeNextVisible value.
-
setTimeNextVisible
public SendMessageResult setTimeNextVisible(OffsetDateTime timeNextVisible)
Set the timeNextVisible property: The time that the message will again become visible in the Queue.- Parameters:
timeNextVisible- the timeNextVisible value to set.- Returns:
- the SendMessageResult object itself.
-
-