public static interface Celebrity.Builder extends SdkPojo, CopyableBuilder<Celebrity.Builder,Celebrity>
| Modifier and Type | Method and Description |
|---|---|
Celebrity.Builder |
face(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
|
default Celebrity.Builder |
face(Consumer<ComparedFace.Builder> face)
Provides information about the celebrity's face, such as its location on the image.
|
Celebrity.Builder |
id(String id)
A unique identifier for the celebrity.
|
default Celebrity.Builder |
knownGender(Consumer<KnownGender.Builder> knownGender)
Sets the value of the KnownGender property for this object.
|
Celebrity.Builder |
knownGender(KnownGender knownGender)
Sets the value of the KnownGender property for this object.
|
Celebrity.Builder |
matchConfidence(Float matchConfidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
Celebrity.Builder |
name(String name)
The name of the celebrity.
|
Celebrity.Builder |
urls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity.
|
Celebrity.Builder |
urls(String... urls)
An array of URLs pointing to additional information about the celebrity.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCelebrity.Builder urls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
urls - An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.Celebrity.Builder urls(String... urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
urls - An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.Celebrity.Builder name(String name)
The name of the celebrity.
name - The name of the celebrity.Celebrity.Builder id(String id)
A unique identifier for the celebrity.
id - A unique identifier for the celebrity.Celebrity.Builder face(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
face - Provides information about the celebrity's face, such as its location on the image.default Celebrity.Builder face(Consumer<ComparedFace.Builder> face)
Provides information about the celebrity's face, such as its location on the image.
This is a convenience method that creates an instance of theComparedFace.Builder avoiding the need
to create one manually via ComparedFace.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to face(ComparedFace).
face - a consumer that will call methods on ComparedFace.Builderface(ComparedFace)Celebrity.Builder matchConfidence(Float matchConfidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
matchConfidence - The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.Celebrity.Builder knownGender(KnownGender knownGender)
knownGender - The new value for the KnownGender property for this object.default Celebrity.Builder knownGender(Consumer<KnownGender.Builder> knownGender)
KnownGender.Builder avoiding the need to
create one manually via KnownGender.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to knownGender(KnownGender).
knownGender - a consumer that will call methods on KnownGender.BuilderknownGender(KnownGender)Copyright © 2023. All rights reserved.