Class DeleteMessageRequest

    • Constructor Detail

      • DeleteMessageRequest

        public DeleteMessageRequest()
        Default constructor for DeleteMessageRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • DeleteMessageRequest

        public DeleteMessageRequest​(String queueUrl,
                                    String receiptHandle)
        Constructs a new DeleteMessageRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        queueUrl - The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

        receiptHandle - The receipt handle associated with the message to delete.
    • Method Detail

      • setQueueUrl

        public void setQueueUrl​(String queueUrl)

        The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

        Parameters:
        queueUrl - The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

      • getQueueUrl

        public String getQueueUrl()

        The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

        Returns:
        The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

      • withQueueUrl

        public DeleteMessageRequest withQueueUrl​(String queueUrl)

        The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

        Parameters:
        queueUrl - The URL of the Amazon SQS queue to take action on.

        Queue URLs are case-sensitive.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReceiptHandle

        public void setReceiptHandle​(String receiptHandle)

        The receipt handle associated with the message to delete.

        Parameters:
        receiptHandle - The receipt handle associated with the message to delete.
      • getReceiptHandle

        public String getReceiptHandle()

        The receipt handle associated with the message to delete.

        Returns:
        The receipt handle associated with the message to delete.
      • withReceiptHandle

        public DeleteMessageRequest withReceiptHandle​(String receiptHandle)

        The receipt handle associated with the message to delete.

        Parameters:
        receiptHandle - The receipt handle associated with the message to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object