public class ChangeMessageVisibilityBatchRequestEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.
All of the following parameters are list parameters that must be prefixed
with ChangeMessageVisibilityBatchRequestEntry.n
, where
n
is an integer value starting with 1. For example, a parameter
list for this action might look like this:
Your_Receipt_Handle]]>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
An identifier for this particular receipt handle.
|
private java.lang.String |
receiptHandle
A receipt handle.
|
private java.lang.Integer |
visibilityTimeout
The new value (in seconds) for the message's visibility timeout.
|
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequestEntry()
Default constructor for ChangeMessageVisibilityBatchRequestEntry object.
|
ChangeMessageVisibilityBatchRequestEntry(java.lang.String id,
java.lang.String receiptHandle)
Constructs a new ChangeMessageVisibilityBatchRequestEntry object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityBatchRequestEntry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
An identifier for this particular receipt handle.
|
java.lang.String |
getReceiptHandle()
A receipt handle.
|
java.lang.Integer |
getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
|
int |
hashCode() |
void |
setId(java.lang.String id)
An identifier for this particular receipt handle.
|
void |
setReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
|
void |
setVisibilityTimeout(java.lang.Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChangeMessageVisibilityBatchRequestEntry |
withId(java.lang.String id)
An identifier for this particular receipt handle.
|
ChangeMessageVisibilityBatchRequestEntry |
withReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
|
ChangeMessageVisibilityBatchRequestEntry |
withVisibilityTimeout(java.lang.Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
private 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.
private java.lang.String receiptHandle
A receipt handle.
private java.lang.Integer visibilityTimeout
The new value (in seconds) for the message's visibility timeout.
public ChangeMessageVisibilityBatchRequestEntry()
public ChangeMessageVisibilityBatchRequestEntry(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 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 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.
Id
s of a batch
request need to be unique within the request.public ChangeMessageVisibilityBatchRequestEntry 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.
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 void setReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public java.lang.String getReceiptHandle()
A receipt handle.
public ChangeMessageVisibilityBatchRequestEntry withReceiptHandle(java.lang.String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public void setVisibilityTimeout(java.lang.Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.public java.lang.Integer getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
public ChangeMessageVisibilityBatchRequestEntry withVisibilityTimeout(java.lang.Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ChangeMessageVisibilityBatchRequestEntry clone()
clone
in class java.lang.Object