public static interface FaceRecord.Builder extends CopyableBuilder<FaceRecord.Builder,FaceRecord>
| Modifier and Type | Method and Description |
|---|---|
default FaceRecord.Builder |
face(Consumer<Face.Builder> face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external
image ID that you assigned.
|
FaceRecord.Builder |
face(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external
image ID that you assigned.
|
default FaceRecord.Builder |
faceDetail(Consumer<FaceDetail.Builder> faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
FaceRecord.Builder |
faceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
copyapply, buildFaceRecord.Builder face(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
face - Describes the face properties such as the bounding box, face ID, image ID of the input image, and
external image ID that you assigned.default FaceRecord.Builder face(Consumer<Face.Builder> face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
This is a convenience that creates an instance of theFace.Builder avoiding the need to create one
manually via Face.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to face(Face).face - a consumer that will call methods on Face.Builderface(Face)FaceRecord.Builder faceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
faceDetail - Structure containing attributes of the face that the algorithm detected.default FaceRecord.Builder faceDetail(Consumer<FaceDetail.Builder> faceDetail)
Structure containing attributes of the face that the algorithm detected.
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 faceDetail(FaceDetail).faceDetail - a consumer that will call methods on FaceDetail.BuilderfaceDetail(FaceDetail)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.