Interface CelebrityDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CelebrityDetail.Builder,CelebrityDetail>,SdkBuilder<CelebrityDetail.Builder,CelebrityDetail>,SdkPojo
- Enclosing class:
- CelebrityDetail
public static interface CelebrityDetail.Builder extends SdkPojo, CopyableBuilder<CelebrityDetail.Builder,CelebrityDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CelebrityDetail.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)Bounding box around the body of a celebrity.CelebrityDetail.BuilderboundingBox(BoundingBox boundingBox)Bounding box around the body of a celebrity.CelebrityDetail.Builderconfidence(Float confidence)The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.default CelebrityDetail.Builderface(Consumer<FaceDetail.Builder> face)Face details for the recognized celebrity.CelebrityDetail.Builderface(FaceDetail face)Face details for the recognized celebrity.CelebrityDetail.Builderid(String id)The unique identifier for the celebrity.default CelebrityDetail.BuilderknownGender(Consumer<KnownGender.Builder> knownGender)Retrieves the known gender for the celebrity.CelebrityDetail.BuilderknownGender(KnownGender knownGender)Retrieves the known gender for the celebrity.CelebrityDetail.Buildername(String name)The name of the celebrity.CelebrityDetail.Builderurls(String... urls)An array of URLs pointing to additional celebrity information.CelebrityDetail.Builderurls(Collection<String> urls)An array of URLs pointing to additional celebrity information.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
urls
CelebrityDetail.Builder urls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
- Parameters:
urls- An array of URLs pointing to additional celebrity information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urls
CelebrityDetail.Builder urls(String... urls)
An array of URLs pointing to additional celebrity information.
- Parameters:
urls- An array of URLs pointing to additional celebrity information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CelebrityDetail.Builder name(String name)
The name of the celebrity.
- Parameters:
name- The name of the celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CelebrityDetail.Builder id(String id)
The unique identifier for the celebrity.
- Parameters:
id- The unique identifier for the celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
CelebrityDetail.Builder confidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
- Parameters:
confidence- The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
CelebrityDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
- Parameters:
boundingBox- Bounding box around the body of a celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
default CelebrityDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box around the body of a celebrity.
This is a convenience method that creates an instance of theBoundingBox.Builderavoiding the need to create one manually viaBoundingBox.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toboundingBox(BoundingBox).- Parameters:
boundingBox- a consumer that will call methods onBoundingBox.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
boundingBox(BoundingBox)
-
face
CelebrityDetail.Builder face(FaceDetail face)
Face details for the recognized celebrity.
- Parameters:
face- Face details for the recognized celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
default CelebrityDetail.Builder face(Consumer<FaceDetail.Builder> face)
Face details for the recognized celebrity.
This is a convenience method that creates an instance of theFaceDetail.Builderavoiding the need to create one manually viaFaceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toface(FaceDetail).- Parameters:
face- a consumer that will call methods onFaceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
face(FaceDetail)
-
knownGender
CelebrityDetail.Builder knownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
- Parameters:
knownGender- Retrieves the known gender for the celebrity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knownGender
default CelebrityDetail.Builder knownGender(Consumer<KnownGender.Builder> knownGender)
Retrieves the known gender for the celebrity.
This is a convenience method that creates an instance of theKnownGender.Builderavoiding the need to create one manually viaKnownGender.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toknownGender(KnownGender).- Parameters:
knownGender- a consumer that will call methods onKnownGender.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
knownGender(KnownGender)
-
-