Interface CelebrityDetail.Builder

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

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

    • urls

      An array of URLs pointing to additional celebrity information.

      Parameters:
      urls - An array of URLs pointing to additional celebrity information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • urls

      An array of URLs pointing to additional celebrity information.

      Parameters:
      urls - An array of URLs pointing to additional celebrity information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the celebrity.

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

      The unique identifier for the celebrity.

      Parameters:
      id - The unique identifier for the celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      CelebrityDetail.Builder confidence(Float confidence)

      The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

      Parameters:
      confidence - The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • boundingBox

      CelebrityDetail.Builder boundingBox(BoundingBox boundingBox)

      Bounding box around the body of a celebrity.

      Parameters:
      boundingBox - Bounding box around the body of a celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • boundingBox

      default CelebrityDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)

      Bounding box around the body of a celebrity.

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

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

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

      Face details for the recognized celebrity.

      Parameters:
      face - Face details for the recognized celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • face

      Face details for the recognized celebrity.

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

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

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

      CelebrityDetail.Builder knownGender(KnownGender knownGender)

      Retrieves the known gender for the celebrity.

      Parameters:
      knownGender - Retrieves the known gender for the celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • knownGender

      default CelebrityDetail.Builder knownGender(Consumer<KnownGender.Builder> knownGender)

      Retrieves the known gender for the celebrity.

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

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

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