Class ChangeMessageVisibilityBatchRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sqs.model.ChangeMessageVisibilityBatchRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ChangeMessageVisibilityBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ChangeMessageVisibilityBatchRequest()Default constructor for ChangeMessageVisibilityBatchRequest object.ChangeMessageVisibilityBatchRequest(String queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries)Constructs a new ChangeMessageVisibilityBatchRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeMessageVisibilityBatchRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<ChangeMessageVisibilityBatchRequestEntry>getEntries()A list of receipt handles of the messages for which the visibility timeout must be changed.StringgetQueueUrl()The URL of the Amazon SQS queue to take action on.inthashCode()voidsetEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)A list of receipt handles of the messages for which the visibility timeout must be changed.voidsetQueueUrl(String queueUrl)The URL of the Amazon SQS queue to take action on.StringtoString()Returns a string representation of this object; useful for testing and debugging.ChangeMessageVisibilityBatchRequestwithEntries(ChangeMessageVisibilityBatchRequestEntry... entries)A list of receipt handles of the messages for which the visibility timeout must be changed.ChangeMessageVisibilityBatchRequestwithEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)A list of receipt handles of the messages for which the visibility timeout must be changed.ChangeMessageVisibilityBatchRequestwithQueueUrl(String queueUrl)The URL of the Amazon SQS queue to take action on.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Constructor Detail
-
ChangeMessageVisibilityBatchRequest
public ChangeMessageVisibilityBatchRequest()
Default constructor for ChangeMessageVisibilityBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ChangeMessageVisibilityBatchRequest
public ChangeMessageVisibilityBatchRequest(String queueUrl, List<ChangeMessageVisibilityBatchRequestEntry> entries)
Constructs a new ChangeMessageVisibilityBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Detail
-
setQueueUrl
public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
-
getQueueUrl
public String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Returns:
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
-
withQueueUrl
public ChangeMessageVisibilityBatchRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEntries
public List<ChangeMessageVisibilityBatchRequestEntry> getEntries()
A list of receipt handles of the messages for which the visibility timeout must be changed.
- Returns:
- A list of receipt handles of the messages for which the visibility timeout must be changed.
-
setEntries
public void setEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed.
- Parameters:
entries- A list of receipt handles of the messages for which the visibility timeout must be changed.
-
withEntries
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)orwithEntries(java.util.Collection)if you want to override the existing values.- Parameters:
entries- A list of receipt handles of the messages for which the visibility timeout must be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEntries
public ChangeMessageVisibilityBatchRequest withEntries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries)
A list of receipt handles of the messages for which the visibility timeout must be changed.
- Parameters:
entries- A list of receipt handles of the messages for which the visibility timeout must be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChangeMessageVisibilityBatchRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-