Interface AttributeDefinition.Builder

    • Method Detail

      • attributeName

        AttributeDefinition.Builder attributeName​(String attributeName)

        A name for the attribute.

        Parameters:
        attributeName - A name for the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributeType

        AttributeDefinition.Builder attributeType​(String attributeType)

        The data type for the attribute, where:

        • S - the attribute is of type String

        • N - the attribute is of type Number

        • B - the attribute is of type Binary

        Parameters:
        attributeType - The data type for the attribute, where:

        • S - the attribute is of type String

        • N - the attribute is of type Number

        • B - the attribute is of type Binary

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalarAttributeType, ScalarAttributeType
      • attributeType

        AttributeDefinition.Builder attributeType​(ScalarAttributeType attributeType)

        The data type for the attribute, where:

        • S - the attribute is of type String

        • N - the attribute is of type Number

        • B - the attribute is of type Binary

        Parameters:
        attributeType - The data type for the attribute, where:

        • S - the attribute is of type String

        • N - the attribute is of type Number

        • B - the attribute is of type Binary

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