public class ChangeMessageVisibilityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ChangeMessageVisibilityRequest()
Default constructor for ChangeMessageVisibilityRequest object.
|
ChangeMessageVisibilityRequest(String queueUrl,
String receiptHandle,
Integer visibilityTimeout)
Constructs a new ChangeMessageVisibilityRequest object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityRequest |
clone() |
boolean |
equals(Object obj) |
String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
String |
getReceiptHandle()
The receipt handle associated with the message whose visibility timeout
should be changed.
|
Integer |
getVisibilityTimeout()
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the
message's visibility timeout.
|
int |
hashCode() |
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
void |
setReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout
should be changed.
|
void |
setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the
message's visibility timeout.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChangeMessageVisibilityRequest |
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
ChangeMessageVisibilityRequest |
withReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout
should be changed.
|
ChangeMessageVisibilityRequest |
withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the
message's visibility timeout.
|
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
public ChangeMessageVisibilityRequest()
public ChangeMessageVisibilityRequest(String queueUrl, String receiptHandle, Integer visibilityTimeout)
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
receiptHandle
- The receipt handle associated with the message whose visibility
timeout should be changed. This parameter is returned by the
ReceiveMessage action.visibilityTimeout
- The new value (in seconds - from 0 to 43200 - maximum 12 hours)
for the message's visibility timeout.public void setQueueUrl(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 String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
Queue URLs are case-sensitive.
public ChangeMessageVisibilityRequest withQueueUrl(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 void setReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout should be changed. This parameter is returned by the ReceiveMessage action.
receiptHandle
- The receipt handle associated with the message whose visibility
timeout should be changed. This parameter is returned by the
ReceiveMessage action.public String getReceiptHandle()
The receipt handle associated with the message whose visibility timeout should be changed. This parameter is returned by the ReceiveMessage action.
public ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout should be changed. This parameter is returned by the ReceiveMessage action.
receiptHandle
- The receipt handle associated with the message whose visibility
timeout should be changed. This parameter is returned by the
ReceiveMessage action.public void setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds - from 0 to 43200 - maximum 12 hours)
for the message's visibility timeout.public Integer getVisibilityTimeout()
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's visibility timeout.
public ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds - from 0 to 43200 - maximum 12 hours)
for the message's visibility timeout.public String toString()
toString
in class Object
Object.toString()
public ChangeMessageVisibilityRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.