@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getQueueUrl()
The URL of the Amazon SQS queue whose message's visibility is changed.
|
String |
getReceiptHandle()
The receipt handle associated with the message whose visibility timeout is changed.
|
Integer |
getVisibilityTimeout()
The new value for the message's visibility timeout (in seconds).
|
int |
hashCode() |
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue whose message's visibility is changed.
|
void |
setReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout is changed.
|
void |
setVisibilityTimeout(Integer visibilityTimeout)
The new value for the message's visibility timeout (in seconds).
|
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 whose message's visibility is changed.
|
ChangeMessageVisibilityRequest |
withReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout is changed.
|
ChangeMessageVisibilityRequest |
withVisibilityTimeout(Integer visibilityTimeout)
The new value for the message's visibility timeout (in seconds).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ChangeMessageVisibilityRequest()
public ChangeMessageVisibilityRequest(String queueUrl, String receiptHandle, Integer visibilityTimeout)
queueUrl
- The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
receiptHandle
- The receipt handle associated with the message whose visibility timeout is changed. This parameter is
returned by the ReceiveMessage
action.visibilityTimeout
- The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
public String getQueueUrl()
The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
Queue URLs are case-sensitive.
public ChangeMessageVisibilityRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue whose message's visibility is changed.
Queue URLs are case-sensitive.
public void setReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by
the ReceiveMessage
action.
receiptHandle
- The receipt handle associated with the message whose visibility timeout is changed. This parameter is
returned by the ReceiveMessage
action.public String getReceiptHandle()
The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by
the ReceiveMessage
action.
ReceiveMessage
action.public ChangeMessageVisibilityRequest withReceiptHandle(String receiptHandle)
The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by
the ReceiveMessage
action.
receiptHandle
- The receipt handle associated with the message whose visibility timeout is changed. This parameter is
returned by the ReceiveMessage
action.public void setVisibilityTimeout(Integer visibilityTimeout)
The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.
visibilityTimeout
- The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.public Integer getVisibilityTimeout()
The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.
0
to
43200
. Maximum: 12 hours.public ChangeMessageVisibilityRequest withVisibilityTimeout(Integer visibilityTimeout)
The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.
visibilityTimeout
- The new value for the message's visibility timeout (in seconds). Values values: 0
to
43200
. Maximum: 12 hours.public String toString()
toString
in class Object
Object.toString()
public ChangeMessageVisibilityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.