public class ChangeMessageVisibilityBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequest()
Default constructor for ChangeMessageVisibilityBatchRequest object.
|
ChangeMessageVisibilityBatchRequest(String queueUrl,
List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityBatchRequest |
clone() |
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 Amazon 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 Amazon 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 Amazon SQS queue to take action on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ChangeMessageVisibilityBatchRequest()
public ChangeMessageVisibilityBatchRequest(String queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries)
queueUrl
- The URL of the Amazon SQS queue to take action on.entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl
- The URL of the Amazon SQS queue to take action on.public String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
public ChangeMessageVisibilityBatchRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl
- The URL of the Amazon SQS queue to take action on.public List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
A list of receipt handles of the messages for which the visibility timeout must be changed.
public void setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed.
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.public ChangeMessageVisibilityBatchRequest withEntries(ChangeMessageVisibilityBatchRequestEntry... entries)
A list of receipt handles of the messages for which the visibility timeout must be changed.
NOTE: This method appends the values to the existing list (if
any). Use setEntries(java.util.Collection)
or
withEntries(java.util.Collection)
if you want to override the
existing values.
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.public ChangeMessageVisibilityBatchRequest withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed.
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 ChangeMessageVisibilityBatchRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.