Interface AttributeValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttributeValue.Builder,,AttributeValue> SdkBuilder<AttributeValue.Builder,,AttributeValue> SdkPojo
- Enclosing class:
AttributeValue
@Mutable
@NotThreadSafe
public static interface AttributeValue.Builder
extends SdkPojo, CopyableBuilder<AttributeValue.Builder,AttributeValue>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue(Boolean booleanValue) An attribute value of Boolean type.An attribute value of datetime type.An attribute value of decimal type.An attribute value of duration type.default AttributeValue.BuilderentityIdentifier(Consumer<EntityIdentifier.Builder> entityIdentifier) An attribute value of type EntityIdentifier.entityIdentifier(EntityIdentifier entityIdentifier) An attribute value of type EntityIdentifier.An attribute value of ipaddr type.An attribute value of Long type.record(Map<String, AttributeValue> record) An attribute value of Record type.set(Collection<AttributeValue> set) An attribute value of Set type.set(Consumer<AttributeValue.Builder>... set) An attribute value of Set type.set(AttributeValue... set) An attribute value of Set type.An attribute value of String type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
booleanValue
-
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:
-
longValue
-
string
-
set
-
set
-
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 toset(List<AttributeValue>).- 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:
-
record
-
ipaddr
-
decimal
-
datetime
-
duration
-