Interface AssociateFacesRequest.Builder

    • Method Detail

      • collectionId

        AssociateFacesRequest.Builder collectionId​(String collectionId)

        The ID of an existing collection containing the UserID.

        Parameters:
        collectionId - The ID of an existing collection containing the UserID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        AssociateFacesRequest.Builder userId​(String userId)

        The ID for the existing UserID.

        Parameters:
        userId - The ID for the existing UserID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faceIds

        AssociateFacesRequest.Builder faceIds​(Collection<String> faceIds)

        An array of FaceIDs to associate with the UserID.

        Parameters:
        faceIds - An array of FaceIDs to associate with the UserID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faceIds

        AssociateFacesRequest.Builder faceIds​(String... faceIds)

        An array of FaceIDs to associate with the UserID.

        Parameters:
        faceIds - An array of FaceIDs to associate with the UserID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMatchThreshold

        AssociateFacesRequest.Builder userMatchThreshold​(Float userMatchThreshold)

        An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.

        Parameters:
        userMatchThreshold - An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientRequestToken

        AssociateFacesRequest.Builder clientRequestToken​(String clientRequestToken)

        Idempotent token used to identify the request to AssociateFaces. If you use the same token with multiple AssociateFaces requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

        Parameters:
        clientRequestToken - Idempotent token used to identify the request to AssociateFaces. If you use the same token with multiple AssociateFaces requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.
        Returns:
        Returns a reference to this object so that method calls can be chained together.