Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   * 
   *  http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.sqs.model;
 
 
Container for the parameters to the ListDeadLetterSourceQueues operation.

Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.

For more information about using dead letter queues, see Using Amazon SQS Dead Letter Queues .

 
 public class ListDeadLetterSourceQueuesRequest extends AmazonWebServiceRequest implements SerializableCloneable {

    
The queue URL of a dead letter queue.
 
     private String queueUrl;

    
Default constructor for a new ListDeadLetterSourceQueuesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.
 
     public ListDeadLetterSourceQueuesRequest() {}
    
    
Constructs a new ListDeadLetterSourceQueuesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl The queue URL of a dead letter queue.
 
     public ListDeadLetterSourceQueuesRequest(String queueUrl) {
         setQueueUrl(queueUrl);
     }

    
The queue URL of a dead letter queue.

Returns:
The queue URL of a dead letter queue.
 
     public String getQueueUrl() {
         return ;
     }
    
    
The queue URL of a dead letter queue.

Parameters:
queueUrl The queue URL of a dead letter queue.
 
     public void setQueueUrl(String queueUrl) {
         this. = queueUrl;
     }
    
    
The queue URL of a dead letter queue.

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

Parameters:
queueUrl The queue URL of a dead letter queue.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         this. = queueUrl;
         return this;
     }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getQueueUrl() != nullsb.append("QueueUrl: " + getQueueUrl() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getQueueUrl() == null) ? 0 : getQueueUrl().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof ListDeadLetterSourceQueuesRequest == falsereturn false;
        
        if (other.getQueueUrl() == null ^ this.getQueueUrl() == nullreturn false;
        if (other.getQueueUrl() != null && other.getQueueUrl().equals(this.getQueueUrl()) == falsereturn false
        return true;
    }
    
    @Override
        
            return (ListDeadLetterSourceQueuesRequestsuper.clone();
    }
}
    
New to GrepCode? Check out our FAQ X