public class DeleteMessageBatchRequestEntry
extends java.lang.Object
implements java.io.Serializable
Encloses a receipt handle and an identifier for it.
Constructor and Description |
---|
DeleteMessageBatchRequestEntry()
Default constructor for DeleteMessageBatchRequestEntry object.
|
DeleteMessageBatchRequestEntry(java.lang.String id,
java.lang.String receiptHandle)
Constructs a new DeleteMessageBatchRequestEntry object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
An identifier for this particular receipt handle.
|
java.lang.String |
getReceiptHandle()
A receipt handle.
|
int |
hashCode() |
void |
setId(java.lang.String id)
An identifier for this particular receipt handle.
|
void |
setReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteMessageBatchRequestEntry |
withId(java.lang.String id)
An identifier for this particular receipt handle.
|
DeleteMessageBatchRequestEntry |
withReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
|
public DeleteMessageBatchRequestEntry()
public DeleteMessageBatchRequestEntry(java.lang.String id, java.lang.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 java.lang.String 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.
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.
public void setId(java.lang.String 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.
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.
public DeleteMessageBatchRequestEntry withId(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String getReceiptHandle()
A receipt handle.
A receipt handle.
public void setReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.
public DeleteMessageBatchRequestEntry withReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
Returns a reference to this object so that method calls can be chained together.
receiptHandle
- A receipt handle.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.