Interface PageClassification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PageClassification.Builder,PageClassification>, SdkBuilder<PageClassification.Builder,PageClassification>, SdkPojo
Enclosing class:
PageClassification

public static interface PageClassification.Builder extends SdkPojo, CopyableBuilder<PageClassification.Builder,PageClassification>
  • Method Details

    • pageType

      The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.

      Parameters:
      pageType - The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageType

      PageClassification.Builder pageType(Prediction... pageType)

      The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.

      Parameters:
      pageType - The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageType

      The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.

      This is a convenience method that creates an instance of the Prediction.Builder avoiding the need to create one manually via Prediction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pageType(List<Prediction>).

      Parameters:
      pageType - a consumer that will call methods on Prediction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pageNumber

      The page number the value was detected on, relative to Amazon Textract's starting position.

      Parameters:
      pageNumber - The page number the value was detected on, relative to Amazon Textract's starting position.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageNumber

      PageClassification.Builder pageNumber(Prediction... pageNumber)

      The page number the value was detected on, relative to Amazon Textract's starting position.

      Parameters:
      pageNumber - The page number the value was detected on, relative to Amazon Textract's starting position.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageNumber

      The page number the value was detected on, relative to Amazon Textract's starting position.

      This is a convenience method that creates an instance of the Prediction.Builder avoiding the need to create one manually via Prediction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pageNumber(List<Prediction>).

      Parameters:
      pageNumber - a consumer that will call methods on Prediction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: