public static class SQSEvent.MessageAttribute extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
MessageAttribute()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
SQSEvent.MessageAttribute |
clone() |
boolean |
equals(Object obj) |
List<ByteBuffer> |
getBinaryListValues()
Gets the list of Binary values of message attribute
|
ByteBuffer |
getBinaryValue()
Gets the value of message attribute of type Binary
|
String |
getDataType()
Gets the dataType of message attribute
|
List<String> |
getStringListValues()
Gets the list of String values of message attribute
|
String |
getStringValue()
Gets the value of message attribute of type String or type Number
|
int |
hashCode() |
void |
setBinaryListValues(List<ByteBuffer> binaryListValues)
Sets the list of Binary values of message attribute
|
void |
setBinaryValue(ByteBuffer binaryValue)
Sets the value of message attribute of type Binary
|
void |
setDataType(String dataType)
Sets the dataType of message attribute
|
void |
setStringListValues(List<String> stringListValues)
Sets the list of String values of message attribute
|
void |
setStringValue(String stringValue)
Sets the value of message attribute of type String or type Number
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public String getStringValue()
public void setStringValue(String stringValue)
stringValue - A string representing the value of attribute of type String or type Numberpublic ByteBuffer getBinaryValue()
public void setBinaryValue(ByteBuffer binaryValue)
binaryValue - A string representing the value of attribute of type Binarypublic List<String> getStringListValues()
public void setStringListValues(List<String> stringListValues)
stringListValues - A list of String representing the value of attributepublic List<ByteBuffer> getBinaryListValues()
public void setBinaryListValues(List<ByteBuffer> binaryListValues)
binaryListValues - A list of Binary representing the value of attributepublic String getDataType()
public void setDataType(String dataType)
dataType - A string representing the data type of attributepublic String toString()
toString in class ObjectObject.toString()public SQSEvent.MessageAttribute clone()
Copyright © 2019. All rights reserved.