Interface CelebrityDetail.Builder

    • Method Detail

      • urls

        CelebrityDetail.Builder urls​(Collection<String> 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

        CelebrityDetail.Builder urls​(String... 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

        CelebrityDetail.Builder name​(String 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

        CelebrityDetail.Builder id​(String 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.
      • face

        CelebrityDetail.Builder face​(FaceDetail 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.
      • 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.