Interface DocumentClass.Builder

    • Method Detail

      • name

        DocumentClass.Builder name​(String name)

        The name of the class.

        Parameters:
        name - The name of the class.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        DocumentClass.Builder score​(Float score)

        The confidence score that Amazon Comprehend has this class correctly attributed.

        Parameters:
        score - The confidence score that Amazon Comprehend has this class correctly attributed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • page

        DocumentClass.Builder page​(Integer page)

        Page number in the input document. This field is present in the response only if your request includes the Byte parameter.

        Parameters:
        page - Page number in the input document. This field is present in the response only if your request includes the Byte parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.