@Generated(value="software.amazon.awssdk:codegen") public final class TypedAttributeValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TypedAttributeValue.Builder,TypedAttributeValue>
Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TypedAttributeValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
SdkBytes |
binaryValue()
A binary data value.
|
Boolean |
booleanValue()
A Boolean data value.
|
static TypedAttributeValue.Builder |
builder() |
Instant |
datetimeValue()
A date and time value.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
numberValue()
A number data value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TypedAttributeValue.Builder> |
serializableBuilderClass() |
String |
stringValue()
A string data value.
|
TypedAttributeValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stringValue()
A string data value.
public final SdkBytes binaryValue()
A binary data value.
public final Boolean booleanValue()
A Boolean data value.
public final String numberValue()
A number data value.
public final Instant datetimeValue()
A date and time value.
public TypedAttributeValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TypedAttributeValue.Builder,TypedAttributeValue>public static TypedAttributeValue.Builder builder()
public static Class<? extends TypedAttributeValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.