public static interface FaceDetection.Builder extends SdkPojo, CopyableBuilder<FaceDetection.Builder,FaceDetection>
Modifier and Type | Method and Description |
---|---|
default FaceDetection.Builder |
face(Consumer<FaceDetail.Builder> face)
The face properties for the detected face.
|
FaceDetection.Builder |
face(FaceDetail face)
The face properties for the detected face.
|
FaceDetection.Builder |
timestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
|
copy
applyMutation, build
FaceDetection.Builder timestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
timestamp
- Time, in milliseconds from the start of the video, that the face was detected.FaceDetection.Builder face(FaceDetail face)
The face properties for the detected face.
face
- The face properties for the detected face.default FaceDetection.Builder face(Consumer<FaceDetail.Builder> face)
The face properties for the detected face.
This is a convenience that creates an instance of theFaceDetail.Builder
avoiding the need to create
one manually via FaceDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to face(FaceDetail)
.face
- a consumer that will call methods on FaceDetail.Builder
face(FaceDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.