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 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:

      "L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]

      This is a convenience method that creates an instance of the 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 l(List<AttributeValue>).

      Parameters:
      l - a consumer that will call methods on AttributeValue.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.