Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class ChangeMessageVisibilityBatchRequest

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

public class ChangeMessageVisibilityBatchRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ChangeMessageVisibilityBatch operation.

See Also:
AmazonSQS.changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest), Serialized Form

Constructor Summary
ChangeMessageVisibilityBatchRequest()
          Default constructor for a new ChangeMessageVisibilityBatchRequest object.
ChangeMessageVisibilityBatchRequest(String queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries)
          Constructs a new ChangeMessageVisibilityBatchRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
          Returns the value of the Entries property for this object.
 String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 int hashCode()
           
 void setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
          Sets the value of the Entries property for this object.
 void setQueueUrl(String queueUrl)
          Sets the value of the QueueUrl property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ChangeMessageVisibilityBatchRequest withEntries(ChangeMessageVisibilityBatchRequestEntry... entries)
          Sets the value of the Entries property for this object.
 ChangeMessageVisibilityBatchRequest withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
          Sets the value of the Entries property for this object.
 ChangeMessageVisibilityBatchRequest withQueueUrl(String queueUrl)
          Sets the value of the QueueUrl 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

ChangeMessageVisibilityBatchRequest

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


ChangeMessageVisibilityBatchRequest

public ChangeMessageVisibilityBatchRequest(String queueUrl,
                                           List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
entries -
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 ChangeMessageVisibilityBatchRequest 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.

getEntries

public List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
Returns the value of the Entries property for this object.

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

setEntries

public void setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
Sets the value of the Entries property for this object.

Parameters:
entries - The new value for the Entries property for this object.

withEntries

public ChangeMessageVisibilityBatchRequest withEntries(ChangeMessageVisibilityBatchRequestEntry... entries)
Sets the value of the Entries property for this object.

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

Parameters:
entries - The new value for the Entries property for this object.

withEntries

public ChangeMessageVisibilityBatchRequest withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
Sets the value of the Entries property for this object.

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

Parameters:
entries - The new value for the Entries property for this object.

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.