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 |
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 |
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 |
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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetFaceDetectionResponse.Builder jobStatus(String jobStatus)
The current status of the face detection job.
jobStatus
- The current status of the face detection job.VideoJobStatus
,
VideoJobStatus
GetFaceDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
jobStatus
- The current status of the face detection job.VideoJobStatus
,
VideoJobStatus
GetFaceDetectionResponse.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.Builder
videoMetadata(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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #faces(List)
.faces
- a consumer that will call methods on List.Builder
#faces(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.