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