@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchPutMessageRequest() |
Modifier and Type | Method and Description |
---|---|
BatchPutMessageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Message> |
getMessages()
The list of messages to send.
|
int |
hashCode() |
void |
setMessages(Collection<Message> messages)
The list of messages to send.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutMessageRequest |
withMessages(Collection<Message> messages)
The list of messages to send.
|
BatchPutMessageRequest |
withMessages(Message... messages)
The list of messages to send.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Message> getMessages()
The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
public void setMessages(Collection<Message> messages)
The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
messages
- The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
public BatchPutMessageRequest withMessages(Message... messages)
The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
or withMessages(java.util.Collection)
if you want to override
the existing values.
messages
- The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
public BatchPutMessageRequest withMessages(Collection<Message> messages)
The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
messages
- The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
public String toString()
toString
in class Object
Object.toString()
public BatchPutMessageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()