Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class DeleteMessageBatchRequestEntry

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

public class DeleteMessageBatchRequestEntry
extends Object
implements Serializable

Delete Message Batch Request Entry

See Also:
Serialized Form

Constructor Summary
DeleteMessageBatchRequestEntry()
          Default constructor for a new DeleteMessageBatchRequestEntry object.
DeleteMessageBatchRequestEntry(String id, String receiptHandle)
          Constructs a new DeleteMessageBatchRequestEntry 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.
 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.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteMessageBatchRequestEntry withId(String id)
          Sets the value of the Id property for this object.
 DeleteMessageBatchRequestEntry withReceiptHandle(String receiptHandle)
          Sets the value of the ReceiptHandle property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteMessageBatchRequestEntry

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


DeleteMessageBatchRequestEntry

public DeleteMessageBatchRequestEntry(String id,
                                      String receiptHandle)
Constructs a new DeleteMessageBatchRequestEntry 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 DeleteMessageBatchRequestEntry 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.

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 DeleteMessageBatchRequestEntry 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.

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.