public static interface AttributeValue.Builder extends SdkPojo, CopyableBuilder<AttributeValue.Builder,AttributeValue>
| Modifier and Type | Method and Description |
|---|---|
AttributeValue.Builder |
booleanValue(Boolean booleanValue)
An attribute value of Boolean
type.
|
default AttributeValue.Builder |
entityIdentifier(Consumer<EntityIdentifier.Builder> entityIdentifier)
An attribute value of type EntityIdentifier.
|
AttributeValue.Builder |
entityIdentifier(EntityIdentifier entityIdentifier)
An attribute value of type EntityIdentifier.
|
AttributeValue.Builder |
longValue(Long longValue)
An attribute value of Long type.
|
AttributeValue.Builder |
record(Map<String,AttributeValue> record)
An attribute value of Record
type.
|
AttributeValue.Builder |
set(AttributeValue... set)
An attribute value of Set type.
|
AttributeValue.Builder |
set(Collection<AttributeValue> set)
An attribute value of Set type.
|
AttributeValue.Builder |
set(Consumer<AttributeValue.Builder>... set)
An attribute value of Set type.
|
AttributeValue.Builder |
string(String string)
An attribute value of String
type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttributeValue.Builder booleanValue(Boolean booleanValue)
An attribute value of Boolean type.
Example: {"boolean": true}
booleanValue - An attribute value of Boolean type.
Example: {"boolean": true}
AttributeValue.Builder entityIdentifier(EntityIdentifier entityIdentifier)
An attribute value of type EntityIdentifier.
Example: "entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}
entityIdentifier - An attribute value of type EntityIdentifier.
Example:
"entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}
default AttributeValue.Builder entityIdentifier(Consumer<EntityIdentifier.Builder> entityIdentifier)
An attribute value of type EntityIdentifier.
Example: "entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}
EntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to entityIdentifier(EntityIdentifier).
entityIdentifier - a consumer that will call methods on EntityIdentifier.BuilderentityIdentifier(EntityIdentifier)AttributeValue.Builder longValue(Long longValue)
An attribute value of Long type.
Example: {"long": 0}
longValue - An attribute value of Long
type.
Example: {"long": 0}
AttributeValue.Builder string(String string)
An attribute value of String type.
Example: {"string": "abc"}
string - An attribute value of String type.
Example: {"string": "abc"}
AttributeValue.Builder set(Collection<AttributeValue> set)
An attribute value of Set type.
Example: {"set": [ {} ] }
set - An attribute value of Set
type.
Example: {"set": [ {} ] }
AttributeValue.Builder set(AttributeValue... set)
An attribute value of Set type.
Example: {"set": [ {} ] }
set - An attribute value of Set
type.
Example: {"set": [ {} ] }
AttributeValue.Builder set(Consumer<AttributeValue.Builder>... set)
An attribute value of Set type.
Example: {"set": [ {} ] }
AttributeValue.Builder avoiding the need to
create one manually via
AttributeValue.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #set(List.
set - a consumer that will call methods on
AttributeValue.Builder#set(java.util.Collection) AttributeValue.Builder record(Map<String,AttributeValue> record)
An attribute value of Record type.
Example: {"record": { "keyName": {} } }
record - An attribute value of Record type.
Example: {"record": { "keyName": {} } }
Copyright © 2023. All rights reserved.