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