Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class ChangeMessageVisibilityRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.ChangeMessageVisibilityRequest
All Implemented Interfaces:
Serializable

public class ChangeMessageVisibilityRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ChangeMessageVisibility operation.

See Also:
AmazonSQS.changeMessageVisibility(ChangeMessageVisibilityRequest), Serialized Form

Constructor Summary
ChangeMessageVisibilityRequest()
          Default constructor for a new ChangeMessageVisibilityRequest object.
ChangeMessageVisibilityRequest(String queueUrl, String receiptHandle, Integer visibilityTimeout)
          Constructs a new ChangeMessageVisibilityRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 String getReceiptHandle()
          Returns the value of the ReceiptHandle property for this object.
 Integer getVisibilityTimeout()
          Returns the value of the VisibilityTimeout property for this object.
 int hashCode()
           
 void setQueueUrl(String queueUrl)
          Sets the value of the QueueUrl property for this object.
 void setReceiptHandle(String receiptHandle)
          Sets the value of the ReceiptHandle property for this object.
 void setVisibilityTimeout(Integer visibilityTimeout)
          Sets the value of the VisibilityTimeout property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ChangeMessageVisibilityRequest withQueueUrl(String queueUrl)
          Sets the value of the QueueUrl property for this object.
 ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
          Sets the value of the ReceiptHandle property for this object.
 ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
          Sets the value of the VisibilityTimeout property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeMessageVisibilityRequest

public ChangeMessageVisibilityRequest()
Default constructor for a new ChangeMessageVisibilityRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ChangeMessageVisibilityRequest

public ChangeMessageVisibilityRequest(String queueUrl,
                                      String receiptHandle,
                                      Integer visibilityTimeout)
Constructs a new ChangeMessageVisibilityRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
receiptHandle -
visibilityTimeout -
Method Detail

getQueueUrl

public String getQueueUrl()
Returns the value of the QueueUrl property for this object.

Returns:
The value of the QueueUrl property for this object.

setQueueUrl

public void setQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object.

Parameters:
queueUrl - The new value for the QueueUrl property for this object.

withQueueUrl

public ChangeMessageVisibilityRequest withQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object.

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

Parameters:
queueUrl - The new value for the QueueUrl property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getReceiptHandle

public String getReceiptHandle()
Returns the value of the ReceiptHandle property for this object.

Returns:
The value of the ReceiptHandle property for this object.

setReceiptHandle

public void setReceiptHandle(String receiptHandle)
Sets the value of the ReceiptHandle property for this object.

Parameters:
receiptHandle - The new value for the ReceiptHandle property for this object.

withReceiptHandle

public ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
Sets the value of the ReceiptHandle property for this object.

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

Parameters:
receiptHandle - The new value for the ReceiptHandle property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVisibilityTimeout

public Integer getVisibilityTimeout()
Returns the value of the VisibilityTimeout property for this object.

Returns:
The value of the VisibilityTimeout property for this object.

setVisibilityTimeout

public void setVisibilityTimeout(Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object.

Parameters:
visibilityTimeout - The new value for the VisibilityTimeout property for this object.

withVisibilityTimeout

public ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object.

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

Parameters:
visibilityTimeout - The new value for the VisibilityTimeout property for this object.
Returns:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.