com.amazonaws.services.sqs.model
Class ChangeMessageVisibilityRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.ChangeMessageVisibilityRequest

public class ChangeMessageVisibilityRequest
extends AmazonWebServiceRequest


Constructor Summary
ChangeMessageVisibilityRequest()
          Default constructor for a new ChangeMessageVisibilityRequest object.
ChangeMessageVisibilityRequest(String queueUrl, String receiptHandle, Integer visibilityTimeout)
          Constructs a new ChangeMessageVisibilityRequest object and initializes the specified object members.
 
Method Summary
 String getQueueUrl()
           
 String getReceiptHandle()
          The receipt handle associated with the message whose visibility timeout the client wants to change.
 Integer getVisibilityTimeout()
          The new value (in seconds) for the message's visibility timeout.
 void setQueueUrl(String queueUrl)
           
 void setReceiptHandle(String receiptHandle)
          The receipt handle associated with the message whose visibility timeout the client wants to change.
 void setVisibilityTimeout(Integer visibilityTimeout)
          The new value (in seconds) for the message's visibility timeout.
 String toString()
           
 ChangeMessageVisibilityRequest withQueueUrl(String queueUrl)
           Returns a reference to this object so that method calls can be chained together.
 ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
          The receipt handle associated with the message whose visibility timeout the client wants to change.
 ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
          The new value (in seconds) for the message's visibility timeout.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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 and initializes the specified object members. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
receiptHandle - The receipt handle associated with the message whose visibility timeout the client wants to change.
visibilityTimeout - The new value (in seconds) for the message's visibility timeout.
Method Detail

getQueueUrl

public String getQueueUrl()
Returns:

setQueueUrl

public void setQueueUrl(String queueUrl)
Parameters:
queueUrl -

withQueueUrl

public ChangeMessageVisibilityRequest withQueueUrl(String queueUrl)

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

Parameters:
queueUrl -
Returns:
A reference to this updated object so that method calls can be chained together.

getReceiptHandle

public String getReceiptHandle()
The receipt handle associated with the message whose visibility timeout the client wants to change.

Returns:
The receipt handle associated with the message whose visibility timeout the client wants to change.

setReceiptHandle

public void setReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout the client wants to change.

Parameters:
receiptHandle - The receipt handle associated with the message whose visibility timeout the client wants to change.

withReceiptHandle

public ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout the client wants to change.

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

Parameters:
receiptHandle - The receipt handle associated with the message whose visibility timeout the client wants to change.
Returns:
A reference to this updated object so that method calls can be chained together.

getVisibilityTimeout

public Integer getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.

Returns:
The new value (in seconds) for the message's visibility timeout.

setVisibilityTimeout

public void setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.

Parameters:
visibilityTimeout - The new value (in seconds) for the message's visibility timeout.

withVisibilityTimeout

public ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.

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

Parameters:
visibilityTimeout - The new value (in seconds) for the message's visibility timeout.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


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