public final class DeleteMessageBatchRequestEntry extends Object implements Serializable
Encloses a receipt handle and an identifier for it.
Constructor and Description |
---|
DeleteMessageBatchRequestEntry(String id,
String receiptHandle)
Constructs a new DeleteMessageBatchRequestEntry object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
An identifier for this particular receipt handle.
|
String |
getReceiptHandle()
A receipt handle.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public DeleteMessageBatchRequestEntry(String id, String receiptHandle)
id
- An identifier for this particular receipt handle. This is used to communicate the result. Note that the Id
s of a batch request need to be unique
within the request.receiptHandle
- A receipt handle.public String getId()
Id
s of a batch request need to be unique within the
request.Id
s of a batch request need to be unique within
the request.public String getReceiptHandle()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2016. All rights reserved.