Interface AssociateFacesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<AssociateFacesResponse.Builder,AssociateFacesResponse>, RekognitionResponse.Builder, SdkBuilder<AssociateFacesResponse.Builder,AssociateFacesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
AssociateFacesResponse

public static interface AssociateFacesResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<AssociateFacesResponse.Builder,AssociateFacesResponse>
  • Method Details

    • 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<AssociatedFace>).

      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:
    • 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.
    • unsuccessfulFaceAssociations

      AssociateFacesResponse.Builder unsuccessfulFaceAssociations(Consumer<UnsuccessfulFaceAssociation.Builder>... unsuccessfulFaceAssociations)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to unsuccessfulFaceAssociations(List<UnsuccessfulFaceAssociation>).

      Parameters:
      unsuccessfulFaceAssociations - a consumer that will call methods on UnsuccessfulFaceAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: