@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageAttributeValue extends Object implements Serializable, Cloneable, StructuredPojo
A list of message attribute values.
Constructor and Description |
---|
MessageAttributeValue() |
Modifier and Type | Method and Description |
---|---|
MessageAttributeValue |
clone() |
boolean |
equals(Object obj) |
List<String> |
getStringValues()
The strings in a message attribute value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStringValues(Collection<String> stringValues)
The strings in a message attribute value.
|
String |
toString()
Returns a string representation of this object.
|
MessageAttributeValue |
withStringValues(Collection<String> stringValues)
The strings in a message attribute value.
|
MessageAttributeValue |
withStringValues(String... stringValues)
The strings in a message attribute value.
|
public List<String> getStringValues()
The strings in a message attribute value.
public void setStringValues(Collection<String> stringValues)
The strings in a message attribute value.
stringValues
- The strings in a message attribute value.public MessageAttributeValue withStringValues(String... stringValues)
The strings in a message attribute value.
NOTE: This method appends the values to the existing list (if any). Use
setStringValues(java.util.Collection)
or withStringValues(java.util.Collection)
if you want to
override the existing values.
stringValues
- The strings in a message attribute value.public MessageAttributeValue withStringValues(Collection<String> stringValues)
The strings in a message attribute value.
stringValues
- The strings in a message attribute value.public String toString()
toString
in class Object
Object.toString()
public MessageAttributeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.