|
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 Form| Constructor Summary | |
|---|---|
ReceiveMessageRequest()
Default constructor for a new ReceiveMessageRequest object. |
|
ReceiveMessageRequest(String queueUrl)
Constructs a new ReceiveMessageRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<String> |
getAttributeNames()
Returns the value of the AttributeNames property for this object. |
Integer |
getMaxNumberOfMessages()
Returns the value of the MaxNumberOfMessages property for this object. |
String |
getQueueUrl()
Returns the value of the QueueUrl property for this object. |
Integer |
getVisibilityTimeout()
Returns the value of the VisibilityTimeout property for this object. |
Integer |
getWaitTimeSeconds()
Returns the value of the WaitTimeSeconds property for this object. |
int |
hashCode()
|
void |
setAttributeNames(Collection<String> attributeNames)
Sets the value of the AttributeNames property for this object. |
void |
setMaxNumberOfMessages(Integer maxNumberOfMessages)
Sets the value of the MaxNumberOfMessages property for this object. |
void |
setQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object. |
void |
setVisibilityTimeout(Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object. |
void |
setWaitTimeSeconds(Integer waitTimeSeconds)
Sets the value of the WaitTimeSeconds property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReceiveMessageRequest |
withAttributeNames(Collection<String> attributeNames)
Sets the value of the AttributeNames property for this object. |
ReceiveMessageRequest |
withAttributeNames(String... attributeNames)
Sets the value of the AttributeNames property for this object. |
ReceiveMessageRequest |
withMaxNumberOfMessages(Integer maxNumberOfMessages)
Sets the value of the MaxNumberOfMessages property for this object. |
ReceiveMessageRequest |
withQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object. |
ReceiveMessageRequest |
withVisibilityTimeout(Integer visibilityTimeout)
Sets the value of the VisibilityTimeout property for this object. |
ReceiveMessageRequest |
withWaitTimeSeconds(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(String queueUrl)
queueUrl - | Method Detail |
|---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl - The new value for the QueueUrl property for this object.public ReceiveMessageRequest withQueueUrl(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 List<String> getAttributeNames()
public void setAttributeNames(Collection<String> attributeNames)
attributeNames - The new value for the AttributeNames property for this object.public ReceiveMessageRequest withAttributeNames(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(Collection<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 Integer getMaxNumberOfMessages()
public void setMaxNumberOfMessages(Integer maxNumberOfMessages)
maxNumberOfMessages - The new value for the MaxNumberOfMessages property for this object.public ReceiveMessageRequest withMaxNumberOfMessages(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 Integer getVisibilityTimeout()
public void setVisibilityTimeout(Integer visibilityTimeout)
visibilityTimeout - The new value for the VisibilityTimeout property for this object.public ReceiveMessageRequest withVisibilityTimeout(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 Integer getWaitTimeSeconds()
public void setWaitTimeSeconds(Integer waitTimeSeconds)
waitTimeSeconds - The new value for the WaitTimeSeconds property for this object.public ReceiveMessageRequest withWaitTimeSeconds(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 String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||