Interface AssociateFacesResponse.Builder

    • Method Detail

      • associatedFaces

        AssociateFacesResponse.Builder associatedFaces​(Collection<AssociatedFace> associatedFaces)

        An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID. Returned if the AssociateFaces action is successful.

        Parameters:
        associatedFaces - An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID. Returned if the AssociateFaces action is successful.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedFaces

        AssociateFacesResponse.Builder associatedFaces​(AssociatedFace... associatedFaces)

        An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID. Returned if the AssociateFaces action is successful.

        Parameters:
        associatedFaces - An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID. Returned if the AssociateFaces action is successful.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedFaces

        AssociateFacesResponse.Builder associatedFaces​(Consumer<AssociatedFace.Builder>... associatedFaces)

        An array of AssociatedFace objects containing FaceIDs that have been successfully associated with the UserID. Returned if the AssociateFaces action is successful.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #associatedFaces(List).

        Parameters:
        associatedFaces - a consumer that will call methods on AssociatedFace.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #associatedFaces(java.util.Collection)
      • unsuccessfulFaceAssociations

        AssociateFacesResponse.Builder unsuccessfulFaceAssociations​(Collection<UnsuccessfulFaceAssociation> unsuccessfulFaceAssociations)

        An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons. Returned if the AssociateFaces action is successful.

        Parameters:
        unsuccessfulFaceAssociations - An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons. Returned if the AssociateFaces action is successful.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unsuccessfulFaceAssociations

        AssociateFacesResponse.Builder unsuccessfulFaceAssociations​(UnsuccessfulFaceAssociation... unsuccessfulFaceAssociations)

        An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons. Returned if the AssociateFaces action is successful.

        Parameters:
        unsuccessfulFaceAssociations - An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons. Returned if the AssociateFaces action is successful.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userStatus

        AssociateFacesResponse.Builder userStatus​(String userStatus)

        The status of an update made to a UserID. Reflects if the UserID has been updated for every requested change.

        Parameters:
        userStatus - The status of an update made to a UserID. Reflects if the UserID has been updated for every requested change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UserStatus, UserStatus
      • userStatus

        AssociateFacesResponse.Builder userStatus​(UserStatus userStatus)

        The status of an update made to a UserID. Reflects if the UserID has been updated for every requested change.

        Parameters:
        userStatus - The status of an update made to a UserID. Reflects if the UserID has been updated for every requested change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UserStatus, UserStatus