Interface Celebrity.Builder

    • Method Detail

      • urls

        Celebrity.Builder urls​(Collection<String> urls)

        An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

        Parameters:
        urls - An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • urls

        Celebrity.Builder urls​(String... urls)

        An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

        Parameters:
        urls - An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

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

        Celebrity.Builder id​(String id)

        A unique identifier for the celebrity.

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

        Celebrity.Builder face​(ComparedFace face)

        Provides information about the celebrity's face, such as its location on the image.

        Parameters:
        face - Provides information about the celebrity's face, such as its location on the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchConfidence

        Celebrity.Builder matchConfidence​(Float matchConfidence)

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

        Parameters:
        matchConfidence - 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.
      • knownGender

        Celebrity.Builder knownGender​(KnownGender knownGender)
        Sets the value of the KnownGender property for this object.
        Parameters:
        knownGender - The new value for the KnownGender property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.