EnhancedDocument.Builder |
EnhancedDocument.Builder.addAttributeConverterProvider(AttributeConverterProvider attributeConverterProvider) |
Appends collection of attributeConverterProvider to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.attributeConverterProviders(List<AttributeConverterProvider> attributeConverterProviders) |
Sets the collection of attributeConverterProviders to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.attributeConverterProviders(AttributeConverterProvider... attributeConverterProvider) |
Sets collection of attributeConverterProviders to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.attributeValueMap(Map<String,AttributeValue> attributeValueMap) |
Sets the attributes of the document builder to those specified in the provided from a AttributeValue Map, and
completely replaces any previously set attributes.
|
static EnhancedDocument.Builder |
EnhancedDocument.builder() |
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.json(String json) |
Sets the attributes of the document builder to those specified in the provided JSON string, and completely replaces
any previously set attributes.
|
<T> EnhancedDocument.Builder |
EnhancedDocument.Builder.put(String attributeName,
T value,
Class<T> type) |
Appends an attribute named attributeName with a value of Class type T.
|
<T> EnhancedDocument.Builder |
EnhancedDocument.Builder.put(String attributeName,
T value,
EnhancedType<T> type) |
Appends an attribute named attributeName with a value of type EnhancedType T.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putBoolean(String attributeName,
boolean value) |
Use this method when you need to add a boolean value to a document.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putBytes(String attributeName,
SdkBytes value) |
Appends an attribute of name attributeName with specified SdkBytes value to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putBytesSet(String attributeName,
Set<SdkBytes> values) |
Appends an attribute of name attributeName with specified Set of SdkBytes values to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putJson(String attributeName,
String json) |
Appends an attribute to the document builder with the specified name and value of a JSON document in string format.
|
<T> EnhancedDocument.Builder |
EnhancedDocument.Builder.putList(String attributeName,
List<T> value,
EnhancedType<T> type) |
Appends an attribute with the specified name and a list of EnhancedType T type elements to the document
builder.
|
<K,V> EnhancedDocument.Builder |
EnhancedDocument.Builder.putMap(String attributeName,
Map<K,V> value,
EnhancedType<K> keyType,
EnhancedType<V> valueType) |
Appends an attribute with the specified name and a Map containing keys and values of EnhancedType K
and V types,
respectively, to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putNull(String attributeName) |
Appends an attribute of name attributeName with a null value.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putNumber(String attributeName,
Number value) |
Appends an attribute of name attributeName with specified Number value to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putNumberSet(String attributeName,
Set<Number> values) |
Appends an attribute of name attributeName with specified Set of Number values to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putString(String attributeName,
String value) |
Appends an attribute of name attributeName with specified String value to the document builder.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.putStringSet(String attributeName,
Set<String> values) |
Appends an attribute to the document builder with a Set of Strings as its value.
|
EnhancedDocument.Builder |
EnhancedDocument.Builder.remove(String attributeName) |
Removes a previously appended attribute.
|
EnhancedDocument.Builder |
EnhancedDocument.toBuilder() |
Converts an existing EnhancedDocument into a builder object that can be used to modify its values and then create a new
EnhancedDocument.
|