Class PurgeQueueRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.PurgeQueueRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class PurgeQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • PurgeQueueRequest

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

      public PurgeQueueRequest(String queueUrl)
      Constructs a new PurgeQueueRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      queueUrl - The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

  • Method Details

    • setQueueUrl

      public void setQueueUrl(String queueUrl)

      The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

      Parameters:
      queueUrl - The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

    • getQueueUrl

      public String getQueueUrl()

      The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

      Returns:
      The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

    • withQueueUrl

      public PurgeQueueRequest withQueueUrl(String queueUrl)

      The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

      Parameters:
      queueUrl - The queue URL of the queue to delete the messages from when using the PurgeQueue API.

      Queue URLs are case-sensitive.

      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PurgeQueueRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: