Interface GetCelebrityRecognitionResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetCelebrityRecognitionResponse.Builder,GetCelebrityRecognitionResponse>, RekognitionResponse.Builder, SdkBuilder<GetCelebrityRecognitionResponse.Builder,GetCelebrityRecognitionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetCelebrityRecognitionResponse

  • Method Details

    • jobStatus

      The current status of the celebrity recognition job.

      Parameters:
      jobStatus - The current status of the celebrity recognition job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      The current status of the celebrity recognition job.

      Parameters:
      jobStatus - The current status of the celebrity recognition job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      GetCelebrityRecognitionResponse.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

      Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

      Parameters:
      videoMetadata - Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • videoMetadata

      Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to videoMetadata(VideoMetadata).

      Parameters:
      videoMetadata - a consumer that will call methods on VideoMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 celebrities.

      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 celebrities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • celebrities

      Array of celebrities recognized in the video.

      Parameters:
      celebrities - Array of celebrities recognized in the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • celebrities

      Array of celebrities recognized in the video.

      Parameters:
      celebrities - Array of celebrities recognized in the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • celebrities

      Array of celebrities recognized in the video.

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

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

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

      Job identifier for the celebrity recognition operation for which you want to obtain results. The job identifer is returned by an initial call to StartCelebrityRecognition.

      Parameters:
      jobId - Job identifier for the celebrity recognition operation for which you want to obtain results. The job identifer is returned by an initial call to StartCelebrityRecognition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • video

      Sets the value of the Video property for this object. This is a convenience method that creates an instance of the Video.Builder avoiding the need to create one manually via Video.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to video(Video).

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

      A job identifier specified in the call to StartCelebrityRecognition 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 StartCelebrityRecognition 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.