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 ofFace
objects.faces
(Consumer<Face.Builder>... faces) An array ofFace
objects.An array ofFace
objects.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
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 Details
-
faces
An array of
Face
objects.- Parameters:
faces
- An array ofFace
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faces
An array of
Face
objects.- Parameters:
faces
- An array ofFace
objects.- 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 theFace
objects.Face.Builder
avoiding the need to create one manually viaFace.builder()
.When the
Consumer
completes,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.
-