Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class ChangeMessageVisibilityBatchRequestEntry

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

public class ChangeMessageVisibilityBatchRequestEntry
extends Object
implements Serializable

Change Message Visibility Batch Request Entry

See Also:
Serialized Form

Constructor Summary
ChangeMessageVisibilityBatchRequestEntry()
          Default constructor for a new ChangeMessageVisibilityBatchRequestEntry object.
ChangeMessageVisibilityBatchRequestEntry(String id, String receiptHandle)
          Constructs a new ChangeMessageVisibilityBatchRequestEntry object.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          Returns the value of the Id 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 setId(String id)
          Sets the value of the Id 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.
 ChangeMessageVisibilityBatchRequestEntry withId(String id)
          Sets the value of the Id property for this object.
 ChangeMessageVisibilityBatchRequestEntry withReceiptHandle(String receiptHandle)
          Sets the value of the ReceiptHandle property for this object.
 ChangeMessageVisibilityBatchRequestEntry withVisibilityTimeout(Integer visibilityTimeout)
          Sets the value of the VisibilityTimeout property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeMessageVisibilityBatchRequestEntry

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


ChangeMessageVisibilityBatchRequestEntry

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

Parameters:
id -
receiptHandle -
Method Detail

getId

public String getId()
Returns the value of the Id property for this object.

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

setId

public void setId(String id)
Sets the value of the Id property for this object.

Parameters:
id - The new value for the Id property for this object.

withId

public ChangeMessageVisibilityBatchRequestEntry withId(String id)
Sets the value of the Id property for this object.

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

Parameters:
id - The new value for the Id 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 ChangeMessageVisibilityBatchRequestEntry 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 ChangeMessageVisibilityBatchRequestEntry 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.