Interface AttributeValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttributeValue.Builder,,AttributeValue> SdkBuilder<AttributeValue.Builder,,AttributeValue> SdkPojo
- Enclosing class:
AttributeValue
-
Method Summary
Modifier and TypeMethodDescriptionAn attribute of type Binary.An attribute of type Boolean.bs(Collection<SdkBytes> bs) An attribute of type Binary Set.An attribute of type Binary Set.An attribute of type List.l(Consumer<AttributeValue.Builder>... l) An attribute of type List.l(AttributeValue... l) An attribute of type List.m(Map<String, AttributeValue> m) An attribute of type Map.An attribute of type Number.An attribute of type Number Set.ns(Collection<String> ns) An attribute of type Number Set.An attribute of type Null.An attribute of type String.An attribute of type String Set.ss(Collection<String> ss) An attribute of type String Set.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, sdkFields
-
Method Details
-
s
An attribute of type String. For example:
"S": "Hello"- Parameters:
s- An attribute of type String. For example:"S": "Hello"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
n
An attribute of type Number. For example:
"N": "123.45"Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Parameters:
n- An attribute of type Number. For example:"N": "123.45"Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
b
An attribute of type Binary. For example:
"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"- Parameters:
b- An attribute of type Binary. For example:"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ss
An attribute of type String Set. For example:
"SS": ["Giraffe", "Hippo" ,"Zebra"]- Parameters:
ss- An attribute of type String Set. For example:"SS": ["Giraffe", "Hippo" ,"Zebra"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ss
An attribute of type String Set. For example:
"SS": ["Giraffe", "Hippo" ,"Zebra"]- Parameters:
ss- An attribute of type String Set. For example:"SS": ["Giraffe", "Hippo" ,"Zebra"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ns
An attribute of type Number Set. For example:
"NS": ["42.2", "-19", "7.5", "3.14"]Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Parameters:
ns- An attribute of type Number Set. For example:"NS": ["42.2", "-19", "7.5", "3.14"]Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ns
An attribute of type Number Set. For example:
"NS": ["42.2", "-19", "7.5", "3.14"]Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Parameters:
ns- An attribute of type Number Set. For example:"NS": ["42.2", "-19", "7.5", "3.14"]Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bs
An attribute of type Binary Set. For example:
"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]- Parameters:
bs- An attribute of type Binary Set. For example:"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bs
An attribute of type Binary Set. For example:
"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]- Parameters:
bs- An attribute of type Binary Set. For example:"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
m
An attribute of type Map. For example:
"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}- Parameters:
m- An attribute of type Map. For example:"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
l
An attribute of type List. For example:
"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]- Parameters:
l- An attribute of type List. For example:"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
l
An attribute of type List. For example:
"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]- Parameters:
l- An attribute of type List. For example:"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
l
An attribute of type List. For example:
This is a convenience method that creates an instance of the"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]AttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tol(List<AttributeValue>).- Parameters:
l- 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:
-
bool
An attribute of type Boolean. For example:
"BOOL": true- Parameters:
bool- An attribute of type Boolean. For example:"BOOL": true- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nul
An attribute of type Null. For example:
"NULL": true- Parameters:
nul- An attribute of type Null. For example:"NULL": true- Returns:
- Returns a reference to this object so that method calls can be chained together.
-