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 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