Interface DocumentAttributeValue.Builder

    • Method Detail

      • stringValue

        DocumentAttributeValue.Builder stringValue​(String stringValue)

        A string, such as "department".

        Parameters:
        stringValue - A string, such as "department".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringListValue

        DocumentAttributeValue.Builder stringListValue​(Collection<String> stringListValue)

        A list of strings. The default maximum length or number of strings is 10.

        Parameters:
        stringListValue - A list of strings. The default maximum length or number of strings is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringListValue

        DocumentAttributeValue.Builder stringListValue​(String... stringListValue)

        A list of strings. The default maximum length or number of strings is 10.

        Parameters:
        stringListValue - A list of strings. The default maximum length or number of strings is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longValue

        DocumentAttributeValue.Builder longValue​(Long longValue)

        A long integer value.

        Parameters:
        longValue - A long integer value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateValue

        DocumentAttributeValue.Builder dateValue​(Instant dateValue)

        A date expressed as an ISO 8601 string.

        It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

        Parameters:
        dateValue - A date expressed as an ISO 8601 string.

        It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

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