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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateFacesResponse.BuilderassociatedFaces(Collection<AssociatedFace> associatedFaces)An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.AssociateFacesResponse.BuilderassociatedFaces(Consumer<AssociatedFace.Builder>... associatedFaces)An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.AssociateFacesResponse.BuilderassociatedFaces(AssociatedFace... associatedFaces)An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned.AssociateFacesResponse.BuilderunsuccessfulFaceAssociations(Collection<UnsuccessfulFaceAssociation> unsuccessfulFaceAssociations)An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.AssociateFacesResponse.BuilderunsuccessfulFaceAssociations(Consumer<UnsuccessfulFaceAssociation.Builder>... unsuccessfulFaceAssociations)An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.AssociateFacesResponse.BuilderunsuccessfulFaceAssociations(UnsuccessfulFaceAssociation... unsuccessfulFaceAssociations)An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons.AssociateFacesResponse.BuilderuserStatus(String userStatus)The status of an update made to a UserID.AssociateFacesResponse.BuilderuserStatus(UserStatus userStatus)The status of an update made to a UserID.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
associatedFaces
AssociateFacesResponse.Builder associatedFaces(Collection<AssociatedFace> 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
AssociateFacesResponse.Builder associatedFaces(AssociatedFace... 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
AssociateFacesResponse.Builder associatedFaces(Consumer<AssociatedFace.Builder>... 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 to#associatedFaces(List.) - 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:
#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.
-
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 to#unsuccessfulFaceAssociations(List.) - 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:
#unsuccessfulFaceAssociations(java.util.Collection)
-
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
-
-