|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.ReceiveMessageRequest
public class ReceiveMessageRequest
Container for the parameters to the ReceiveMessage operation
.
AmazonSQS.receiveMessage(ReceiveMessageRequest)
,
Serialized FormConstructor Summary | |
---|---|
ReceiveMessageRequest()
Default constructor for a new ReceiveMessageRequest object. |
|
ReceiveMessageRequest(java.lang.String queueUrl)
Constructs a new ReceiveMessageRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getAttributeNames()
Returns the value of the AttributeNames property for this object. |
java.lang.Integer |
getMaxNumberOfMessages()
Returns the value of the MaxNumberOfMessages property for this object. |
java.lang.String |
getQueueUrl()
Returns the value of the QueueUrl property for this object. |
java.lang.Integer |
getVisibilityTimeout()
Returns the value of the VisibilityTimeout property for this object. |
java.lang.Integer |
getWaitTimeSeconds()
Returns the value of the WaitTimeSeconds property for this object. |
int |
hashCode()
|
void |
setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Sets the value of the AttributeNames property for this object. |
void |
setMaxNumberOfMessages(java.lang.Integer maxNumberOfMessages)
Sets the value of the MaxNumberOfMessages property for this object. |
void |
setQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object. |
void |
setVisibilityTimeout(java.lang.Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object. |
void |
setWaitTimeSeconds(java.lang.Integer waitTimeSeconds)
Sets the value of the WaitTimeSeconds property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReceiveMessageRequest |
withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Sets the value of the AttributeNames property for this object. |
ReceiveMessageRequest |
withAttributeNames(java.lang.String... attributeNames)
Sets the value of the AttributeNames property for this object. |
ReceiveMessageRequest |
withMaxNumberOfMessages(java.lang.Integer maxNumberOfMessages)
Sets the value of the MaxNumberOfMessages property for this object. |
ReceiveMessageRequest |
withQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object. |
ReceiveMessageRequest |
withVisibilityTimeout(java.lang.Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object. |
ReceiveMessageRequest |
withWaitTimeSeconds(java.lang.Integer waitTimeSeconds)
Sets the value of the WaitTimeSeconds property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReceiveMessageRequest()
public ReceiveMessageRequest(java.lang.String queueUrl)
queueUrl
- Method Detail |
---|
public java.lang.String getQueueUrl()
public void setQueueUrl(java.lang.String queueUrl)
queueUrl
- The new value for the QueueUrl property for this object.public ReceiveMessageRequest withQueueUrl(java.lang.String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl
- The new value for the QueueUrl property for this object.
public java.util.List<java.lang.String> getAttributeNames()
public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
attributeNames
- The new value for the AttributeNames property for this object.public ReceiveMessageRequest withAttributeNames(java.lang.String... attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames
- The new value for the AttributeNames property for this object.
public ReceiveMessageRequest withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames
- The new value for the AttributeNames property for this object.
public java.lang.Integer getMaxNumberOfMessages()
public void setMaxNumberOfMessages(java.lang.Integer maxNumberOfMessages)
maxNumberOfMessages
- The new value for the MaxNumberOfMessages property for this object.public ReceiveMessageRequest withMaxNumberOfMessages(java.lang.Integer maxNumberOfMessages)
Returns a reference to this object so that method calls can be chained together.
maxNumberOfMessages
- The new value for the MaxNumberOfMessages property for this object.
public java.lang.Integer getVisibilityTimeout()
public void setVisibilityTimeout(java.lang.Integer visibilityTimeout)
visibilityTimeout
- The new value for the VisibilityTimeout property for this object.public ReceiveMessageRequest withVisibilityTimeout(java.lang.Integer visibilityTimeout)
Returns a reference to this object so that method calls can be chained together.
visibilityTimeout
- The new value for the VisibilityTimeout property for this object.
public java.lang.Integer getWaitTimeSeconds()
public void setWaitTimeSeconds(java.lang.Integer waitTimeSeconds)
waitTimeSeconds
- The new value for the WaitTimeSeconds property for this object.public ReceiveMessageRequest withWaitTimeSeconds(java.lang.Integer waitTimeSeconds)
Returns a reference to this object so that method calls can be chained together.
waitTimeSeconds
- The new value for the WaitTimeSeconds property for this object.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |