UpdateMessageResult Class
- java.
lang. Object - com.
azure. storage. queue. models. UpdateMessageResult
- com.
public final class UpdateMessageResult
Response from the service when updating a message. Contains the information needed to continue working with the specific message.
Constructor Summary
Constructor | Description |
---|---|
UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible) |
Creates an instance of updated message information. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPopReceipt()
Get the unique identifier used to verify that the operation is allowed on the message. |
Offset |
getTimeNextVisible()
Get the next time the message will be visible to other operations in the queue. |
Methods inherited from java.lang.Object
Constructor Details
UpdateMessageResult
public UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible)
Creates an instance of updated message information.
Parameters:
Method Details
getPopReceipt
public String getPopReceipt()
Get the unique identifier used to verify that the operation is allowed on the message.
Returns:
getTimeNextVisible
public OffsetDateTime getTimeNextVisible()
Get the next time the message will be visible to other operations in the queue.
Returns: