public final class SendMessageBatchRequestEntry extends Object implements Serializable
Contains the details of a single Amazon SQS message along with a Id
.
Constructor and Description |
---|
SendMessageBatchRequestEntry() |
SendMessageBatchRequestEntry(String id,
String messageBody,
Integer delaySeconds,
Map<String,MessageAttributeValue> messageAttributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getDelaySeconds()
The number of seconds for which the message has to be delayed.
|
String |
getId()
An identifier for the message in this batch.
|
Map<String,MessageAttributeValue> |
getMessageAttributes()
Each message attribute consists of a Name, Type, and Value.
|
String |
getMessageBody()
Body of the message.
|
String |
getMessageGroupId()
The group id for which this message belongs to.
|
int |
hashCode() |
void |
setDelaySeconds(Integer delaySeconds) |
void |
setId(String id) |
void |
setMessageAttributes(Map<String,MessageAttributeValue> messageAttributes) |
void |
setMessageBody(String messageBody) |
void |
setMessageGroupId(String messageGroupId) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setId(String id)
public void setMessageBody(String messageBody)
public void setDelaySeconds(Integer delaySeconds)
public void setMessageAttributes(Map<String,MessageAttributeValue> messageAttributes)
public String getId()
Id
s of a batch request need to be unique within the request.Id
s of a batch request need to be unique within the
request.public String getMessageBody()
public Integer getDelaySeconds()
public String getMessageGroupId()
public void setMessageGroupId(String messageGroupId)
public Map<String,MessageAttributeValue> getMessageAttributes()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2017. All rights reserved.