Package com.amazonaws.services.sqs.model
Class DeleteMessageBatchRequestEntry
- java.lang.Object
-
- com.amazonaws.services.sqs.model.DeleteMessageBatchRequestEntry
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DeleteMessageBatchRequestEntry extends Object implements Serializable, Cloneable
Encloses a receipt handle and an identifier for it.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeleteMessageBatchRequestEntry()Default constructor for DeleteMessageBatchRequestEntry object.DeleteMessageBatchRequestEntry(String id, String receiptHandle)Constructs a new DeleteMessageBatchRequestEntry object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteMessageBatchRequestEntryclone()booleanequals(Object obj)StringgetId()An identifier for this particular receipt handle.StringgetReceiptHandle()A receipt handle.inthashCode()voidsetId(String id)An identifier for this particular receipt handle.voidsetReceiptHandle(String receiptHandle)A receipt handle.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeleteMessageBatchRequestEntrywithId(String id)An identifier for this particular receipt handle.DeleteMessageBatchRequestEntrywithReceiptHandle(String receiptHandle)A receipt handle.
-
-
-
Constructor Detail
-
DeleteMessageBatchRequestEntry
public DeleteMessageBatchRequestEntry()
Default constructor for DeleteMessageBatchRequestEntry object. Callers should use the setter or fluent setter (with...) methods to initialize the 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- An identifier for this particular receipt handle. This is used to communicate the result. Note that theIds of a batch request need to be unique within the request.receiptHandle- A receipt handle.
-
-
Method Detail
-
setId
public void setId(String id)
An identifier for this particular receipt handle. This is used to communicate the result. Note that the
Ids of a batch request need to be unique within the request.- Parameters:
id- An identifier for this particular receipt handle. This is used to communicate the result. Note that theIds of a batch request need to be unique within the request.
-
getId
public String getId()
An identifier for this particular receipt handle. This is used to communicate the result. Note that the
Ids of a batch request need to be unique within the request.- Returns:
- An identifier for this particular receipt handle. This is used to
communicate the result. Note that the
Ids of a batch request need to be unique within the request.
-
withId
public DeleteMessageBatchRequestEntry withId(String id)
An identifier for this particular receipt handle. This is used to communicate the result. Note that the
Ids of a batch request need to be unique within the request.- Parameters:
id- An identifier for this particular receipt handle. This is used to communicate the result. Note that theIds of a batch request need to be unique within the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReceiptHandle
public void setReceiptHandle(String receiptHandle)
A receipt handle.
- Parameters:
receiptHandle- A receipt handle.
-
getReceiptHandle
public String getReceiptHandle()
A receipt handle.
- Returns:
- A receipt handle.
-
withReceiptHandle
public DeleteMessageBatchRequestEntry withReceiptHandle(String receiptHandle)
A receipt handle.
- Parameters:
receiptHandle- A receipt handle.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteMessageBatchRequestEntry clone()
-
-