Interface CelebrityDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CelebrityDetail.Builder,
,CelebrityDetail> SdkBuilder<CelebrityDetail.Builder,
,CelebrityDetail> SdkPojo
- Enclosing class:
CelebrityDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault CelebrityDetail.Builder
boundingBox
(Consumer<BoundingBox.Builder> boundingBox) Bounding box around the body of a celebrity.boundingBox
(BoundingBox boundingBox) Bounding box around the body of a celebrity.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.face
(FaceDetail face) Face details for the recognized celebrity.The unique identifier for the celebrity.default CelebrityDetail.Builder
knownGender
(Consumer<KnownGender.Builder> knownGender) Retrieves the known gender for the celebrity.knownGender
(KnownGender knownGender) Retrieves the known gender for the celebrity.The name of the celebrity.An array of URLs pointing to additional celebrity information.urls
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
Bounding box around the body of a celebrity.
This is a convenience method that creates an instance of theBoundingBox.Builder
avoiding the need to create one manually viaBoundingBox.builder()
.When the
Consumer
completes,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:
-
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
Face details for the recognized celebrity.
This is a convenience method that creates an instance of theFaceDetail.Builder
avoiding the need to create one manually viaFaceDetail.builder()
.When the
Consumer
completes,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:
-
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
Retrieves the known gender for the celebrity.
This is a convenience method that creates an instance of theKnownGender.Builder
avoiding the need to create one manually viaKnownGender.builder()
.When the
Consumer
completes,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:
-