|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.sqs.model.ChangeMessageVisibilityBatchRequestEntry
public class ChangeMessageVisibilityBatchRequestEntry
Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatchRequest.
Constructor Summary | |
---|---|
ChangeMessageVisibilityBatchRequestEntry()
Default constructor for a new ChangeMessageVisibilityBatchRequestEntry object. |
|
ChangeMessageVisibilityBatchRequestEntry(String id,
String receiptHandle)
Constructs a new ChangeMessageVisibilityBatchRequestEntry object. |
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public String getId()
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 void setId(String id)
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 ChangeMessageVisibilityBatchRequestEntry withId(String id)
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 String getReceiptHandle()
public void setReceiptHandle(String receiptHandle)
receiptHandle
- A receipt handle.public ChangeMessageVisibilityBatchRequestEntry withReceiptHandle(String receiptHandle)
Returns a reference to this object so that method calls can be chained together.
receiptHandle
- A receipt handle.
public Integer getVisibilityTimeout()
public void setVisibilityTimeout(Integer visibilityTimeout)
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.public ChangeMessageVisibilityBatchRequestEntry withVisibilityTimeout(Integer visibilityTimeout)
Returns a reference to this object so that method calls can be chained together.
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |