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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFacesResponse.BuilderfaceModelVersion(String faceModelVersion)Version number of the face detection model associated with the input collection (CollectionId).ListFacesResponse.Builderfaces(Collection<Face> faces)An array ofFaceobjects.ListFacesResponse.Builderfaces(Consumer<Face.Builder>... faces)An array ofFaceobjects.ListFacesResponse.Builderfaces(Face... faces)An array ofFaceobjects.ListFacesResponse.BuildernextToken(String 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.-
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
-
faces
ListFacesResponse.Builder faces(Collection<Face> 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
ListFacesResponse.Builder faces(Face... 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
ListFacesResponse.Builder faces(Consumer<Face.Builder>... 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 to#faces(List.) - 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:
#faces(java.util.Collection)
-
nextToken
ListFacesResponse.Builder nextToken(String 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
ListFacesResponse.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.
-
-