|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.ChangeMessageVisibilityBatchRequest
public class ChangeMessageVisibilityBatchRequest
Container for the parameters to the ChangeMessageVisibilityBatch operation
.
This is a batch version of ChangeMessageVisibility. It takes multiple receipt handles and performs the operation on each of the them. The result of the operation on each message is reported individually in the response.
AmazonSQS.changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest)
Constructor Summary | |
---|---|
ChangeMessageVisibilityBatchRequest()
Default constructor for a new ChangeMessageVisibilityBatchRequest object. |
|
ChangeMessageVisibilityBatchRequest(String queueUrl,
List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<ChangeMessageVisibilityBatchRequestEntry> |
getEntries()
A list of receipt handles of the messages for which the visibility timeout must be changed. |
String |
getQueueUrl()
The URL of the SQS queue to take action on. |
int |
hashCode()
|
void |
setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed. |
void |
setQueueUrl(String queueUrl)
The URL of the SQS queue to take action on. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ChangeMessageVisibilityBatchRequest |
withEntries(ChangeMessageVisibilityBatchRequestEntry... entries)
A list of receipt handles of the messages for which the visibility timeout must be changed. |
ChangeMessageVisibilityBatchRequest |
withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed. |
ChangeMessageVisibilityBatchRequest |
withQueueUrl(String queueUrl)
The URL of the SQS queue to take action on. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeMessageVisibilityBatchRequest()
public ChangeMessageVisibilityBatchRequest(String queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries)
queueUrl
- The URL of the SQS queue to take action on.entries
- A list of receipt handles of the messages for which the
visibility timeout must be changed.Method Detail |
---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl
- The URL of the SQS queue to take action on.public ChangeMessageVisibilityBatchRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
- The URL of the SQS queue to take action on.
public List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
public void setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.public ChangeMessageVisibilityBatchRequest withEntries(ChangeMessageVisibilityBatchRequestEntry... entries)
Returns a reference to this object so that method calls can be chained together.
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.
public ChangeMessageVisibilityBatchRequest withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
Returns a reference to this object so that method calls can be chained together.
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |