@Generated(value="software.amazon.awssdk:codegen") public final class MessageSystemAttributeValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageSystemAttributeValue.Builder,MessageSystemAttributeValue>
The user-specified message system attribute value. For string data types, the Value
attribute has the
same restrictions on the content as the message body. For more information, see SendMessage.
Name
, type
, value
and the message body must not be empty or null.
Modifier and Type | Class and Description |
---|---|
static interface |
MessageSystemAttributeValue.Builder |
Modifier and Type | Method and Description |
---|---|
List<SdkBytes> |
binaryListValues()
Not implemented.
|
SdkBytes |
binaryValue()
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
|
static MessageSystemAttributeValue.Builder |
builder() |
String |
dataType()
Amazon SQS supports the following logical data types:
String , Number , and
Binary . |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBinaryListValues()
Returns true if the BinaryListValues property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasStringListValues()
Returns true if the StringListValues property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MessageSystemAttributeValue.Builder> |
serializableBuilderClass() |
List<String> |
stringListValues()
Not implemented.
|
String |
stringValue()
Strings are Unicode with UTF-8 binary encoding.
|
MessageSystemAttributeValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String stringValue()
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.
public SdkBytes binaryValue()
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
public boolean hasStringListValues()
public List<String> stringListValues()
Not implemented. Reserved for future use.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStringListValues()
to see if a value was sent in this field.
public boolean hasBinaryListValues()
public List<SdkBytes> binaryListValues()
Not implemented. Reserved for future use.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBinaryListValues()
to see if a value was sent in this field.
public String dataType()
Amazon SQS supports the following logical data types: String
, Number
, and
Binary
. For the Number
data type, you must use StringValue
.
You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon Simple Queue Service Developer Guide.
String
, Number
, and
Binary
. For the Number
data type, you must use StringValue
.
You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon Simple Queue Service Developer Guide.
public MessageSystemAttributeValue.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<MessageSystemAttributeValue.Builder,MessageSystemAttributeValue>
public static MessageSystemAttributeValue.Builder builder()
public static Class<? extends MessageSystemAttributeValue.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.