Interface ListFacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFacesResponse.Builder,,ListFacesResponse> RekognitionResponse.Builder,SdkBuilder<ListFacesResponse.Builder,,ListFacesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFacesResponse
public static interface ListFacesResponse.Builder
extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListFacesResponse.Builder,ListFacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfaceModelVersion(String faceModelVersion) Version number of the face detection model associated with the input collection (CollectionId).faces(Collection<Face> faces) An array ofFaceobjects.faces(Consumer<Face.Builder>... faces) An array ofFaceobjects.An array ofFaceobjects.If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.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
-
faces
An array of
Faceobjects.- Parameters:
faces- An array ofFaceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faces
An array of
Faceobjects.- Parameters:
faces- An array ofFaceobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faces
An array of
This is a convenience method that creates an instance of theFaceobjects.Face.Builderavoiding the need to create one manually viaFace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofaces(List<Face>).- Parameters:
faces- a consumer that will call methods onFace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
- Parameters:
nextToken- If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-