Interface StringAttributeConstraintsType.Builder

    • Method Detail

      • minLength

        StringAttributeConstraintsType.Builder minLength​(String minLength)

        The minimum length of a string attribute value.

        Parameters:
        minLength - The minimum length of a string attribute value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxLength

        StringAttributeConstraintsType.Builder maxLength​(String maxLength)

        The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

        Parameters:
        maxLength - The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.