Class ChangeMessageVisibilityBatchRequestEntry
- All Implemented Interfaces:
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]]>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ChangeMessageVisibilityBatchRequestEntry object.ChangeMessageVisibilityBatchRequestEntry(String id, String receiptHandle) Constructs a new ChangeMessageVisibilityBatchRequestEntry object. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetId()An identifier for this particular receipt handle.A receipt handle.The new value (in seconds) for the message's visibility timeout.inthashCode()voidAn identifier for this particular receipt handle.voidsetReceiptHandle(String receiptHandle) A receipt handle.voidsetVisibilityTimeout(Integer visibilityTimeout) The new value (in seconds) for the message's visibility timeout.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.withVisibilityTimeout(Integer visibilityTimeout) The new value (in seconds) for the message's visibility timeout.
-
Constructor Details
-
ChangeMessageVisibilityBatchRequestEntry
public ChangeMessageVisibilityBatchRequestEntry()Default constructor for ChangeMessageVisibilityBatchRequestEntry object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ChangeMessageVisibilityBatchRequestEntry
Constructs a new ChangeMessageVisibilityBatchRequestEntry 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 theIds 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
Ids 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 theIds 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
Ids 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
Ids 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
Ids 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 theIds 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.
-
setVisibilityTimeout
The new value (in seconds) for the message's visibility timeout.
- Parameters:
visibilityTimeout- The new value (in seconds) for the message's visibility timeout.
-
getVisibilityTimeout
The new value (in seconds) for the message's visibility timeout.
- Returns:
- The new value (in seconds) for the message's visibility timeout.
-
withVisibilityTimeout
The new value (in seconds) for the message's visibility timeout.
- Parameters:
visibilityTimeout- The new value (in seconds) for the message's visibility timeout.- 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
-