public static interface CelebrityDetail.Builder extends SdkPojo, CopyableBuilder<CelebrityDetail.Builder,CelebrityDetail>
| Modifier and Type | Method and Description |
|---|---|
CelebrityDetail.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
|
default CelebrityDetail.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box around the body of a celebrity.
|
CelebrityDetail.Builder |
confidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
default CelebrityDetail.Builder |
face(Consumer<FaceDetail.Builder> face)
Face details for the recognized celebrity.
|
CelebrityDetail.Builder |
face(FaceDetail face)
Face details for the recognized celebrity.
|
CelebrityDetail.Builder |
id(String id)
The unique identifier for the celebrity.
|
CelebrityDetail.Builder |
name(String name)
The name of the celebrity.
|
CelebrityDetail.Builder |
urls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
|
CelebrityDetail.Builder |
urls(String... urls)
An array of URLs pointing to additional celebrity information.
|
copyapplyMutation, buildCelebrityDetail.Builder urls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
urls - An array of URLs pointing to additional celebrity information.CelebrityDetail.Builder urls(String... urls)
An array of URLs pointing to additional celebrity information.
urls - An array of URLs pointing to additional celebrity information.CelebrityDetail.Builder name(String name)
The name of the celebrity.
name - The name of the celebrity.CelebrityDetail.Builder id(String id)
The unique identifier for the celebrity.
id - The unique identifier for the celebrity.CelebrityDetail.Builder confidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
confidence - The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.CelebrityDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
boundingBox - Bounding box around the body of a celebrity.default CelebrityDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box around the body of a celebrity.
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.BuilderboundingBox(BoundingBox)CelebrityDetail.Builder face(FaceDetail face)
Face details for the recognized celebrity.
face - Face details for the recognized celebrity.default CelebrityDetail.Builder face(Consumer<FaceDetail.Builder> face)
Face details for the recognized celebrity.
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.Builderface(FaceDetail)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.