Interface AssociateFacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateFacesResponse.Builder,,AssociateFacesResponse> RekognitionResponse.Builder,SdkBuilder<AssociateFacesResponse.Builder,,AssociateFacesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateFacesResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedFaces(Collection<AssociatedFace> associatedFaces) An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.associatedFaces(Consumer<AssociatedFace.Builder>... associatedFaces) An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.associatedFaces(AssociatedFace... associatedFaces) An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.unsuccessfulFaceAssociations(Collection<UnsuccessfulFaceAssociation> unsuccessfulFaceAssociations) An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.unsuccessfulFaceAssociations(Consumer<UnsuccessfulFaceAssociation.Builder>... unsuccessfulFaceAssociations) An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.unsuccessfulFaceAssociations(UnsuccessfulFaceAssociation... unsuccessfulFaceAssociations) An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.userStatus(String userStatus) The status of an update made to a UserID.userStatus(UserStatus userStatus) The status of an update made to a UserID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associatedFaces
An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.
- Parameters:
associatedFaces- An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedFaces
An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.
- Parameters:
associatedFaces- An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedFaces
An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.
This is a convenience method that creates an instance of theAssociatedFace.Builderavoiding the need to create one manually viaAssociatedFace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedFaces(List<AssociatedFace>).- Parameters:
associatedFaces- a consumer that will call methods onAssociatedFace.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 theUnsuccessfulFaceAssociation.Builderavoiding the need to create one manually viaUnsuccessfulFaceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessfulFaceAssociations(List<UnsuccessfulFaceAssociation>).- Parameters:
unsuccessfulFaceAssociations- a consumer that will call methods onUnsuccessfulFaceAssociation.Builder- 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:
-
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:
-