Interface GetDocumentTextDetectionRequest.Builder

    • Method Detail

      • jobId

        GetDocumentTextDetectionRequest.Builder jobId​(String jobId)

        A unique identifier for the text detection job. The JobId is returned from StartDocumentTextDetection. A JobId value is only valid for 7 days.

        Parameters:
        jobId - A unique identifier for the text detection job. The JobId is returned from StartDocumentTextDetection. A JobId value is only valid for 7 days.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        GetDocumentTextDetectionRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per paginated call. The largest value you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.

        Parameters:
        maxResults - The maximum number of results to return per paginated call. The largest value you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetDocumentTextDetectionRequest.Builder nextToken​(String nextToken)

        If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.

        Parameters:
        nextToken - If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.