public class ChangeMessageVisibilityBatchRequestEntry extends Object implements Serializable, 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]]>
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequestEntry()
Default constructor for ChangeMessageVisibilityBatchRequestEntry object.
|
ChangeMessageVisibilityBatchRequestEntry(String id,
String receiptHandle)
Constructs a new ChangeMessageVisibilityBatchRequestEntry object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityBatchRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
An identifier for this particular receipt handle.
|
String |
getReceiptHandle()
A receipt handle.
|
Integer |
getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
|
int |
hashCode() |
void |
setId(String id)
An identifier for this particular receipt handle.
|
void |
setReceiptHandle(String receiptHandle)
A receipt handle.
|
void |
setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ChangeMessageVisibilityBatchRequestEntry |
withId(String id)
An identifier for this particular receipt handle.
|
ChangeMessageVisibilityBatchRequestEntry |
withReceiptHandle(String receiptHandle)
A receipt handle.
|
ChangeMessageVisibilityBatchRequestEntry |
withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
public ChangeMessageVisibilityBatchRequestEntry()
public ChangeMessageVisibilityBatchRequestEntry(String id, 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(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 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(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(String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public String getReceiptHandle()
A receipt handle.
public ChangeMessageVisibilityBatchRequestEntry withReceiptHandle(String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public void setVisibilityTimeout(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 Integer getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
public ChangeMessageVisibilityBatchRequestEntry withVisibilityTimeout(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 String toString()
toString
in class Object
Object.toString()
public ChangeMessageVisibilityBatchRequestEntry clone()
Copyright © 2016. All rights reserved.