Interface DisassociateFacesResponse.Builder

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

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

    • disassociatedFaces

      DisassociateFacesResponse.Builder disassociatedFaces(Collection<DisassociatedFace> disassociatedFaces)

      An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.

      Parameters:
      disassociatedFaces - An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disassociatedFaces

      DisassociateFacesResponse.Builder disassociatedFaces(DisassociatedFace... disassociatedFaces)

      An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.

      Parameters:
      disassociatedFaces - An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disassociatedFaces

      DisassociateFacesResponse.Builder disassociatedFaces(Consumer<DisassociatedFace.Builder>... disassociatedFaces)

      An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.

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

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

      Parameters:
      disassociatedFaces - a consumer that will call methods on DisassociatedFace.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • unsuccessfulFaceDisassociations

      DisassociateFacesResponse.Builder unsuccessfulFaceDisassociations(Collection<UnsuccessfulFaceDisassociation> unsuccessfulFaceDisassociations)

      An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.

      Parameters:
      unsuccessfulFaceDisassociations - An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsuccessfulFaceDisassociations

      DisassociateFacesResponse.Builder unsuccessfulFaceDisassociations(UnsuccessfulFaceDisassociation... unsuccessfulFaceDisassociations)

      An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.

      Parameters:
      unsuccessfulFaceDisassociations - An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsuccessfulFaceDisassociations

      DisassociateFacesResponse.Builder unsuccessfulFaceDisassociations(Consumer<UnsuccessfulFaceDisassociation.Builder>... unsuccessfulFaceDisassociations)

      An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.

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

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

      Parameters:
      unsuccessfulFaceDisassociations - a consumer that will call methods on UnsuccessfulFaceDisassociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userStatus

      DisassociateFacesResponse.Builder userStatus(String userStatus)

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

      Parameters:
      userStatus - The status of an update made to a User. Reflects if the User 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 User. Reflects if the User has been updated for every requested change.

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