public class ChangeMessageVisibilityBatchRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ChangeMessageVisibilityBatchRequestEntry> |
entries
A list of receipt handles of the messages for which the visibility
timeout must be changed.
|
private java.lang.String |
queueUrl
The URL of the Amazon SQS queue to take action on.
|
NOOP
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequest()
Default constructor for ChangeMessageVisibilityBatchRequest object.
|
ChangeMessageVisibilityBatchRequest(java.lang.String queueUrl,
java.util.List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityBatchRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<ChangeMessageVisibilityBatchRequestEntry> |
getEntries()
A list of receipt handles of the messages for which the visibility
timeout must be changed.
|
java.lang.String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
int |
hashCode() |
void |
setEntries(java.util.Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility
timeout must be changed.
|
void |
setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
java.lang.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(java.util.Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility
timeout must be changed.
|
ChangeMessageVisibilityBatchRequest |
withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String queueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
private SdkInternalList<ChangeMessageVisibilityBatchRequestEntry> entries
A list of receipt handles of the messages for which the visibility timeout must be changed.
public ChangeMessageVisibilityBatchRequest()
public ChangeMessageVisibilityBatchRequest(java.lang.String queueUrl, java.util.List<ChangeMessageVisibilityBatchRequestEntry> entries)
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
entries
- A list of receipt handles of the messages for which the visibility
timeout must be changed.public void setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
public java.lang.String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
Queue URLs are case-sensitive.
public ChangeMessageVisibilityBatchRequest withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
public java.util.List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
A list of receipt handles of the messages for which the visibility timeout must be changed.
public void setEntries(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ChangeMessageVisibilityBatchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()