Interface GetTextDetectionResponse.Builder

    • Method Detail

      • statusMessage

        GetTextDetectionResponse.Builder statusMessage​(String statusMessage)

        If the job fails, StatusMessage provides a descriptive error message.

        Parameters:
        statusMessage - If the job fails, StatusMessage provides a descriptive error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • videoMetadata

        GetTextDetectionResponse.Builder videoMetadata​(VideoMetadata videoMetadata)
        Sets the value of the VideoMetadata property for this object.
        Parameters:
        videoMetadata - The new value for the VideoMetadata property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textDetections

        GetTextDetectionResponse.Builder textDetections​(Collection<TextDetectionResult> textDetections)

        An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.

        Parameters:
        textDetections - An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textDetections

        GetTextDetectionResponse.Builder textDetections​(TextDetectionResult... textDetections)

        An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.

        Parameters:
        textDetections - An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetTextDetectionResponse.Builder nextToken​(String nextToken)

        If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.

        Parameters:
        nextToken - If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textModelVersion

        GetTextDetectionResponse.Builder textModelVersion​(String textModelVersion)

        Version number of the text detection model that was used to detect text.

        Parameters:
        textModelVersion - Version number of the text detection model that was used to detect text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        GetTextDetectionResponse.Builder jobId​(String jobId)

        Job identifier for the text detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartTextDetection.

        Parameters:
        jobId - Job identifier for the text detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartTextDetection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • video

        GetTextDetectionResponse.Builder video​(Video video)
        Sets the value of the Video property for this object.
        Parameters:
        video - The new value for the Video property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobTag

        GetTextDetectionResponse.Builder jobTag​(String jobTag)

        A job identifier specified in the call to StartTextDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

        Parameters:
        jobTag - A job identifier specified in the call to StartTextDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.