Interface Face.Builder

    • Method Detail

      • faceId

        Face.Builder faceId​(String faceId)

        Unique identifier that Amazon Rekognition assigns to the face.

        Parameters:
        faceId - Unique identifier that Amazon Rekognition assigns to the face.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • boundingBox

        Face.Builder boundingBox​(BoundingBox boundingBox)

        Bounding box of the face.

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

        Face.Builder imageId​(String imageId)

        Unique identifier that Amazon Rekognition assigns to the input image.

        Parameters:
        imageId - Unique identifier that Amazon Rekognition assigns to the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalImageId

        Face.Builder externalImageId​(String externalImageId)

        Identifier that you assign to all the faces in the input image.

        Parameters:
        externalImageId - Identifier that you assign to all the faces in the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        Face.Builder confidence​(Float confidence)

        Confidence level that the bounding box contains a face (and not a different object such as a tree).

        Parameters:
        confidence - Confidence level that the bounding box contains a face (and not a different object such as a tree).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • indexFacesModelVersion

        Face.Builder indexFacesModelVersion​(String indexFacesModelVersion)

        The version of the face detect and storage model that was used when indexing the face vector.

        Parameters:
        indexFacesModelVersion - The version of the face detect and storage model that was used when indexing the face vector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        Face.Builder userId​(String userId)

        Unique identifier assigned to the user.

        Parameters:
        userId - Unique identifier assigned to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.