Interface AttributeValue.Builder

    • Method Detail

      • s

        AttributeValue.Builder s​(String 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

        AttributeValue.Builder n​(String 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

        AttributeValue.Builder b​(SdkBytes 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

        AttributeValue.Builder ss​(Collection<String> 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

        AttributeValue.Builder ss​(String... 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

        AttributeValue.Builder ns​(Collection<String> 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

        AttributeValue.Builder ns​(String... 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

        AttributeValue.Builder bs​(Collection<SdkBytes> 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

        AttributeValue.Builder bs​(SdkBytes... 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

        AttributeValue.Builder m​(Map<String,​AttributeValue> 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

        AttributeValue.Builder l​(Collection<AttributeValue> 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

        AttributeValue.Builder l​(AttributeValue... 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.
      • bool

        AttributeValue.Builder bool​(Boolean 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

        AttributeValue.Builder nul​(Boolean 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.