|
|||||||
| 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.SendMessageRequest
public class SendMessageRequest
Container for the parameters to the SendMessage operation.
The SendMessage action delivers a message to the specified queue.
AmazonSQS.sendMessage(SendMessageRequest)| Constructor Summary | |
|---|---|
SendMessageRequest()
Default constructor for a new SendMessageRequest object. |
|
SendMessageRequest(String queueUrl,
String messageBody)
Constructs a new SendMessageRequest object. |
|
| Method Summary | |
|---|---|
String |
getMessageBody()
The message to send. |
String |
getQueueUrl()
|
void |
setMessageBody(String messageBody)
The message to send. |
void |
setQueueUrl(String queueUrl)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SendMessageRequest |
withMessageBody(String messageBody)
The message to send. |
SendMessageRequest |
withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SendMessageRequest()
public SendMessageRequest(String queueUrl,
String messageBody)
queueUrl - messageBody - The message to send.| Method Detail |
|---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl - public SendMessageRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl -
public String getMessageBody()
public void setMessageBody(String messageBody)
messageBody - The message to send.public SendMessageRequest withMessageBody(String messageBody)
Returns a reference to this object so that method calls can be chained together.
messageBody - The message to send.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||