Interface SearchFacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchFacesResponse.Builder,SearchFacesResponse>,RekognitionResponse.Builder,SdkBuilder<SearchFacesResponse.Builder,SearchFacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchFacesResponse
public static interface SearchFacesResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchFacesResponse.Builder,SearchFacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchFacesResponse.BuilderfaceMatches(Collection<FaceMatch> faceMatches)An array of faces that matched the input face, along with the confidence in the match.SearchFacesResponse.BuilderfaceMatches(Consumer<FaceMatch.Builder>... faceMatches)An array of faces that matched the input face, along with the confidence in the match.SearchFacesResponse.BuilderfaceMatches(FaceMatch... faceMatches)An array of faces that matched the input face, along with the confidence in the match.SearchFacesResponse.BuilderfaceModelVersion(String faceModelVersion)Version number of the face detection model associated with the input collection (CollectionId).SearchFacesResponse.BuildersearchedFaceId(String searchedFaceId)ID of the face that was searched for matches in a collection.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
searchedFaceId
SearchFacesResponse.Builder searchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
- Parameters:
searchedFaceId- ID of the face that was searched for matches in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceMatches
SearchFacesResponse.Builder faceMatches(Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
- Parameters:
faceMatches- An array of faces that matched the input face, along with the confidence in the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceMatches
SearchFacesResponse.Builder faceMatches(FaceMatch... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
- Parameters:
faceMatches- An array of faces that matched the input face, along with the confidence in the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceMatches
SearchFacesResponse.Builder faceMatches(Consumer<FaceMatch.Builder>... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
This is a convenience method that creates an instance of theFaceMatch.Builderavoiding the need to create one manually viaFaceMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#faceMatches(List.) - Parameters:
faceMatches- a consumer that will call methods onFaceMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#faceMatches(java.util.Collection)
-
faceModelVersion
SearchFacesResponse.Builder faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId).- Parameters:
faceModelVersion- Version number of the face detection model associated with the input collection (CollectionId).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-