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() |
Offset |
getTimeNextVisible() |
Methods inherited from java.lang.Object
Constructor Details
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 valid
timeNextVisible
- The next time the message will be visible to other operations in the queue
Method Details
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for