Interface AttributeValue.Builder

    • 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.
      • 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.
      • 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.
      • ipaddr

        AttributeValue.Builder ipaddr​(String ipaddr)

        An attribute value of ipaddr type.

        Example: {"ip": "192.168.1.100"}

        Parameters:
        ipaddr - An attribute value of ipaddr type.

        Example: {"ip": "192.168.1.100"}

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decimal

        AttributeValue.Builder decimal​(String decimal)

        An attribute value of decimal type.

        Example: {"decimal": "1.1"}

        Parameters:
        decimal - An attribute value of decimal type.

        Example: {"decimal": "1.1"}

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datetime

        AttributeValue.Builder datetime​(String datetime)

        An attribute value of datetime type.

        Example: {"datetime": "2024-10-15T11:35:00Z"}

        Parameters:
        datetime - An attribute value of datetime type.

        Example: {"datetime": "2024-10-15T11:35:00Z"}

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        AttributeValue.Builder duration​(String duration)

        An attribute value of duration type.

        Example: {"duration": "1h30m"}

        Parameters:
        duration - An attribute value of duration type.

        Example: {"duration": "1h30m"}

        Returns:
        Returns a reference to this object so that method calls can be chained together.