public static interface GetFaceDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetFaceDetectionResponse.Builder,GetFaceDetectionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetFaceDetectionResponse.Builder |
faces(Collection<FaceDetection> faces)
An array of faces detected in the video.
|
GetFaceDetectionResponse.Builder |
faces(Consumer<FaceDetection.Builder>... faces)
An array of faces detected in the video.
|
GetFaceDetectionResponse.Builder |
faces(FaceDetection... faces)
An array of faces detected in the video.
|
GetFaceDetectionResponse.Builder |
jobId(String jobId)
Job identifier for the face detection operation for which you want to obtain results.
|
GetFaceDetectionResponse.Builder |
jobStatus(String jobStatus)
The current status of the face detection job.
|
GetFaceDetectionResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
|
GetFaceDetectionResponse.Builder |
jobTag(String jobTag)
A job identifier specified in the call to StartFaceDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
GetFaceDetectionResponse.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.
|
GetFaceDetectionResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
default GetFaceDetectionResponse.Builder |
video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object.
|
GetFaceDetectionResponse.Builder |
video(Video video)
Sets the value of the Video property for this object.
|
default GetFaceDetectionResponse.Builder |
videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
GetFaceDetectionResponse.Builder |
videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetFaceDetectionResponse.Builder jobStatus(String jobStatus)
The current status of the face detection job.
jobStatus - The current status of the face detection job.VideoJobStatus,
VideoJobStatusGetFaceDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
jobStatus - The current status of the face detection job.VideoJobStatus,
VideoJobStatusGetFaceDetectionResponse.Builder statusMessage(String statusMessage)
If the job fails, StatusMessage provides a descriptive error message.
statusMessage - If the job fails, StatusMessage provides a descriptive error message.GetFaceDetectionResponse.Builder videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in
every page of paginated responses from a Amazon Rekognition video operation.
videoMetadata - Information about a video that Amazon Rekognition Video analyzed. Videometadata is
returned in every page of paginated responses from a Amazon Rekognition video operation.default GetFaceDetectionResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in
every page of paginated responses from a Amazon Rekognition video operation.
VideoMetadata.Builder avoiding the need
to create one manually via VideoMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to videoMetadata(VideoMetadata).
videoMetadata - a consumer that will call methods on VideoMetadata.BuildervideoMetadata(VideoMetadata)GetFaceDetectionResponse.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.
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.GetFaceDetectionResponse.Builder faces(Collection<FaceDetection> faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
faces - An array of faces detected in the video. Each element contains a detected face's details and the time,
in milliseconds from the start of the video, the face was detected.GetFaceDetectionResponse.Builder faces(FaceDetection... faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
faces - An array of faces detected in the video. Each element contains a detected face's details and the time,
in milliseconds from the start of the video, the face was detected.GetFaceDetectionResponse.Builder faces(Consumer<FaceDetection.Builder>... faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
This is a convenience method that creates an instance of theFaceDetection.Builder avoiding the need to create
one manually via FaceDetection.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #faces(List.
faces - a consumer that will call methods on
FaceDetection.Builder#faces(java.util.Collection) GetFaceDetectionResponse.Builder jobId(String jobId)
Job identifier for the face detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartFaceDetection.
jobId - Job identifier for the face detection operation for which you want to obtain results. The job
identifer is returned by an initial call to StartFaceDetection.GetFaceDetectionResponse.Builder video(Video video)
video - The new value for the Video property for this object.default GetFaceDetectionResponse.Builder video(Consumer<Video.Builder> video)
Video.Builder avoiding the need to
create one manually via Video.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to video(Video).
video - a consumer that will call methods on Video.Buildervideo(Video)GetFaceDetectionResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartFaceDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag - A job identifier specified in the call to StartFaceDetection and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.Copyright © 2023. All rights reserved.