@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMessageBatchRequestEntry extends Object implements Serializable, Cloneable
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()
An identifier for this particular receipt handle.
|
String |
getReceiptHandle()
A receipt handle.
|
int |
hashCode() |
void |
setId(String id)
An identifier for this particular receipt handle.
|
void |
setReceiptHandle(String receiptHandle)
A receipt handle.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteMessageBatchRequestEntry |
withId(String id)
An identifier for this particular receipt handle.
|
DeleteMessageBatchRequestEntry |
withReceiptHandle(String receiptHandle)
A receipt handle.
|
public DeleteMessageBatchRequestEntry()
public DeleteMessageBatchRequestEntry(String id, String receiptHandle)
id
- An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
receiptHandle
- A receipt handle.public void setId(String id)
An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
id
- An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
public String getId()
An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
The Id
s of a batch request need to be unique within a request
public DeleteMessageBatchRequestEntry withId(String id)
An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
id
- An identifier for this particular receipt handle. This is used to communicate the result.
The Id
s of a batch request need to be unique within a request
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 Object
Object.toString()
public DeleteMessageBatchRequestEntry clone()
Copyright © 2018. All rights reserved.