@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMessageBatchRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
Encloses a receipt handle and an identifier for it.
| Constructor and Description | 
|---|
| DeleteMessageBatchRequestEntry()Default constructor for DeleteMessageBatchRequestEntry object. | 
| DeleteMessageBatchRequestEntry(String id,
                              String receiptHandle)Constructs a new DeleteMessageBatchRequestEntry object. | 
| Modifier and Type | Method and Description | 
|---|---|
| DeleteMessageBatchRequestEntry | clone() | 
| boolean | equals(Object obj) | 
| String | getId()
 The identifier for this particular receipt handle. | 
| String | getReceiptHandle()
 A receipt handle. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setId(String id)
 The identifier for this particular receipt handle. | 
| void | setReceiptHandle(String receiptHandle)
 A receipt handle. | 
| String | toString()Returns a string representation of this object. | 
| DeleteMessageBatchRequestEntry | withId(String id)
 The identifier for this particular receipt handle. | 
| DeleteMessageBatchRequestEntry | withReceiptHandle(String receiptHandle)
 A receipt handle. | 
public DeleteMessageBatchRequestEntry()
public DeleteMessageBatchRequestEntry(String id, String receiptHandle)
id - The identifier for this particular receipt handle. This is used to communicate the result. 
        The Ids of a batch request need to be unique within a request.
        
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
receiptHandle - A receipt handle.public void setId(String id)
The identifier for this particular receipt handle. This is used to communicate the result.
 The Ids of a batch request need to be unique within a request.
 
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
id - The identifier for this particular receipt handle. This is used to communicate the result. 
        The Ids of a batch request need to be unique within a request.
        
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public String getId()
The identifier for this particular receipt handle. This is used to communicate the result.
 The Ids of a batch request need to be unique within a request.
 
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
         The Ids of a batch request need to be unique within a request.
         
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public DeleteMessageBatchRequestEntry withId(String id)
The identifier for this particular receipt handle. This is used to communicate the result.
 The Ids of a batch request need to be unique within a request.
 
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
id - The identifier for this particular receipt handle. This is used to communicate the result. 
        The Ids of a batch request need to be unique within a request.
        
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public void setReceiptHandle(String receiptHandle)
A receipt handle.
receiptHandle - A receipt handle.public String getReceiptHandle()
A receipt handle.
public DeleteMessageBatchRequestEntry withReceiptHandle(String receiptHandle)
A receipt handle.
receiptHandle - A receipt handle.public String toString()
toString in class ObjectObject.toString()public DeleteMessageBatchRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.