Package com.amazonaws.services.sqs.model
Class DeleteMessageBatchRequestEntry
java.lang.Object
com.amazonaws.services.sqs.model.DeleteMessageBatchRequestEntry
- All Implemented Interfaces:
Serializable
,Cloneable
Encloses a receipt handle and an identifier for it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DeleteMessageBatchRequestEntry object.DeleteMessageBatchRequestEntry
(String id, String receiptHandle) Constructs a new DeleteMessageBatchRequestEntry object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
An identifier for this particular receipt handle.A receipt handle.int
hashCode()
void
An identifier for this particular receipt handle.void
setReceiptHandle
(String receiptHandle) A receipt handle.toString()
Returns a string representation of this object; useful for testing and debugging.An identifier for this particular receipt handle.withReceiptHandle
(String receiptHandle) A receipt handle.
-
Constructor Details
-
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
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 theId
s of a batch request need to be unique within the request.receiptHandle
- A receipt handle.
-
-
Method Details
-
setId
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.- Parameters:
id
- An identifier for this particular receipt handle. This is used to communicate the result. Note that theId
s of a batch request need to be unique within the request.
-
getId
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.- Returns:
- 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.
-
withId
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.- Parameters:
id
- An identifier for this particular receipt handle. This is used to communicate the result. Note that theId
s 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
A receipt handle.
- Parameters:
receiptHandle
- A receipt handle.
-
getReceiptHandle
A receipt handle.
- Returns:
- A receipt handle.
-
withReceiptHandle
A receipt handle.
- Parameters:
receiptHandle
- A receipt handle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-