|
||||||||||
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
Constructor Summary | |
---|---|
SendMessageRequest()
Default constructor for a new SendMessageRequest object. |
|
SendMessageRequest(String queueUrl,
String messageBody)
Constructs a new SendMessageRequest object and initializes the specified object members. |
Method Summary | |
---|---|
String |
getMessageBody()
The message to send. |
String |
getQueueUrl()
|
void |
setMessageBody(String messageBody)
The message to send. |
void |
setQueueUrl(String queueUrl)
|
String |
toString()
|
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 |
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 Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |