public static interface PersonDetail.Builder extends SdkPojo, CopyableBuilder<PersonDetail.Builder,PersonDetail>
Modifier and Type | Method and Description |
---|---|
PersonDetail.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
|
default PersonDetail.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box around the detected person.
|
default PersonDetail.Builder |
face(Consumer<FaceDetail.Builder> face)
Face details for the detected person.
|
PersonDetail.Builder |
face(FaceDetail face)
Face details for the detected person.
|
PersonDetail.Builder |
index(Long index)
Identifier for the person detected person within a video.
|
copy
applyMutation, build
PersonDetail.Builder index(Long index)
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
index
- Identifier for the person detected person within a video. Use to keep track of the person throughout
the video. The identifier is not stored by Amazon Rekognition.PersonDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
boundingBox
- Bounding box around the detected person.default PersonDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box around the detected person.
This is a convenience that creates an instance of theBoundingBox.Builder
avoiding the need to create
one manually via BoundingBox.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to boundingBox(BoundingBox)
.boundingBox
- a consumer that will call methods on BoundingBox.Builder
boundingBox(BoundingBox)
PersonDetail.Builder face(FaceDetail face)
Face details for the detected person.
face
- Face details for the detected person.default PersonDetail.Builder face(Consumer<FaceDetail.Builder> face)
Face details for the detected person.
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.