public class ChangeMessageVisibilityBatchRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequest()
Default constructor for a new ChangeMessageVisibilityBatchRequest object.
|
ChangeMessageVisibilityBatchRequest(String queueUrl,
List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
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.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.