Interface AttributeValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttributeValue.Builder,AttributeValue>,SdkBuilder<AttributeValue.Builder,AttributeValue>,SdkPojo
- Enclosing class:
- AttributeValue
public static interface AttributeValue.Builder extends SdkPojo, CopyableBuilder<AttributeValue.Builder,AttributeValue>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
booleanValue
AttributeValue.Builder booleanValue(Boolean booleanValue)
An attribute value of Boolean type.
Example:
{"boolean": true}- Parameters:
booleanValue- An attribute value of Boolean type.Example:
{"boolean": true}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdentifier
AttributeValue.Builder entityIdentifier(EntityIdentifier entityIdentifier)
An attribute value of type EntityIdentifier.
Example:
"entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}- Parameters:
entityIdentifier- An attribute value of type EntityIdentifier.Example:
"entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdentifier
default AttributeValue.Builder entityIdentifier(Consumer<EntityIdentifier.Builder> entityIdentifier)
An attribute value of type EntityIdentifier.
Example:
This is a convenience method that creates an instance of the"entityIdentifier": { "entityId": "<id>", "entityType": "<entity type>"}EntityIdentifier.Builderavoiding the need to create one manually viaEntityIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityIdentifier(EntityIdentifier).- Parameters:
entityIdentifier- a consumer that will call methods onEntityIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
entityIdentifier(EntityIdentifier)
-
longValue
AttributeValue.Builder longValue(Long longValue)
An attribute value of Long type.
Example:
{"long": 0}- Parameters:
longValue- An attribute value of Long type.Example:
{"long": 0}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
string
AttributeValue.Builder string(String string)
An attribute value of String type.
Example:
{"string": "abc"}- Parameters:
string- An attribute value of String type.Example:
{"string": "abc"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
AttributeValue.Builder set(Collection<AttributeValue> set)
An attribute value of Set type.
Example:
{"set": [ {} ] }- Parameters:
set- An attribute value of Set type.Example:
{"set": [ {} ] }- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
AttributeValue.Builder set(AttributeValue... set)
An attribute value of Set type.
Example:
{"set": [ {} ] }- Parameters:
set- An attribute value of Set type.Example:
{"set": [ {} ] }- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
AttributeValue.Builder set(Consumer<AttributeValue.Builder>... set)
An attribute value of Set type.
Example:
This is a convenience method that creates an instance of the{"set": [ {} ] }AttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#set(List.) - Parameters:
set- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#set(java.util.Collection)
-
record
AttributeValue.Builder record(Map<String,AttributeValue> record)
An attribute value of Record type.
Example:
{"record": { "keyName": {} } }- Parameters:
record- An attribute value of Record type.Example:
{"record": { "keyName": {} } }- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-