Interface DocumentLabel.Builder

    • Method Detail

      • name

        DocumentLabel.Builder name​(String name)

        The name of the label.

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

        DocumentLabel.Builder score​(Float score)

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

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

        DocumentLabel.Builder page​(Integer page)

        Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

        Parameters:
        page - Page number where the label occurs. 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.