|
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.SendMessageRequest
public class SendMessageRequest
Container for the parameters to the SendMessage operation
.
AmazonSQS.sendMessage(SendMessageRequest)
,
Serialized FormConstructor Summary | |
---|---|
SendMessageRequest()
Default constructor for a new SendMessageRequest object. |
|
SendMessageRequest(String queueUrl,
String messageBody)
Constructs a new SendMessageRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getDelaySeconds()
Returns the value of the DelaySeconds property for this object. |
String |
getMessageBody()
Returns the value of the MessageBody property for this object. |
String |
getQueueUrl()
Returns the value of the QueueUrl property for this object. |
int |
hashCode()
|
void |
setDelaySeconds(Integer delaySeconds)
Sets the value of the DelaySeconds property for this object. |
void |
setMessageBody(String messageBody)
Sets the value of the MessageBody property for this object. |
void |
setQueueUrl(String queueUrl)
Sets the value of the QueueUrl property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SendMessageRequest |
withDelaySeconds(Integer delaySeconds)
Sets the value of the DelaySeconds property for this object. |
SendMessageRequest |
withMessageBody(String messageBody)
Sets the value of the MessageBody property for this object. |
SendMessageRequest |
withQueueUrl(String queueUrl)
Sets the value of the QueueUrl 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 SendMessageRequest()
public SendMessageRequest(String queueUrl, String messageBody)
queueUrl
- messageBody
- Method Detail |
---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl
- The new value for the QueueUrl property for this object.public SendMessageRequest 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 String getMessageBody()
public void setMessageBody(String messageBody)
messageBody
- The new value for the MessageBody property for this object.public SendMessageRequest withMessageBody(String messageBody)
Returns a reference to this object so that method calls can be chained together.
messageBody
- The new value for the MessageBody property for this object.
public Integer getDelaySeconds()
public void setDelaySeconds(Integer delaySeconds)
delaySeconds
- The new value for the DelaySeconds property for this object.public SendMessageRequest withDelaySeconds(Integer delaySeconds)
Returns a reference to this object so that method calls can be chained together.
delaySeconds
- The new value for the DelaySeconds property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |