public static interface FaceDetail.Builder extends SdkPojo, CopyableBuilder<FaceDetail.Builder,FaceDetail>
Modifier and Type | Method and Description |
---|---|
FaceDetail.Builder |
ageRange(AgeRange ageRange)
The estimated age range, in years, for the face.
|
default FaceDetail.Builder |
ageRange(Consumer<AgeRange.Builder> ageRange)
The estimated age range, in years, for the face.
|
FaceDetail.Builder |
beard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
default FaceDetail.Builder |
beard(Consumer<Beard.Builder> beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
FaceDetail.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
default FaceDetail.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
|
FaceDetail.Builder |
confidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
FaceDetail.Builder |
emotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
emotions(Consumer<Emotion.Builder>... emotions)
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
emotions(Emotion... emotions)
The emotions detected on the face, and the confidence level in the determination.
|
default FaceDetail.Builder |
eyeglasses(Consumer<Eyeglasses.Builder> eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
FaceDetail.Builder |
eyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
default FaceDetail.Builder |
eyesOpen(Consumer<EyeOpen.Builder> eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
FaceDetail.Builder |
eyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
default FaceDetail.Builder |
gender(Consumer<Gender.Builder> gender)
Gender of the face and the confidence level in the determination.
|
FaceDetail.Builder |
gender(Gender gender)
Gender of the face and the confidence level in the determination.
|
FaceDetail.Builder |
landmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
landmarks(Consumer<Landmark.Builder>... landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
landmarks(Landmark... landmarks)
Indicates the location of landmarks on the face.
|
default FaceDetail.Builder |
mouthOpen(Consumer<MouthOpen.Builder> mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
FaceDetail.Builder |
mouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
default FaceDetail.Builder |
mustache(Consumer<Mustache.Builder> mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
FaceDetail.Builder |
mustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
default FaceDetail.Builder |
pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
FaceDetail.Builder |
pose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
default FaceDetail.Builder |
quality(Consumer<ImageQuality.Builder> quality)
Identifies image brightness and sharpness.
|
FaceDetail.Builder |
quality(ImageQuality quality)
Identifies image brightness and sharpness.
|
default FaceDetail.Builder |
smile(Consumer<Smile.Builder> smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
FaceDetail.Builder |
smile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
default FaceDetail.Builder |
sunglasses(Consumer<Sunglasses.Builder> sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
FaceDetail.Builder |
sunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
copy
applyMutation, build
FaceDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face. Default attribute.
boundingBox
- Bounding box of the face. Default attribute.default FaceDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face. Default attribute.
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)
FaceDetail.Builder ageRange(AgeRange ageRange)
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
ageRange
- The estimated age range, in years, for the face. Low represents the lowest estimated age and High
represents the highest estimated age.default FaceDetail.Builder ageRange(Consumer<AgeRange.Builder> ageRange)
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
This is a convenience that creates an instance of theAgeRange.Builder
avoiding the need to create
one manually via AgeRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to ageRange(AgeRange)
.ageRange
- a consumer that will call methods on AgeRange.Builder
ageRange(AgeRange)
FaceDetail.Builder smile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
smile
- Indicates whether or not the face is smiling, and the confidence level in the determination.default FaceDetail.Builder smile(Consumer<Smile.Builder> smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
This is a convenience that creates an instance of theSmile.Builder
avoiding the need to create one
manually via Smile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to smile(Smile)
.smile
- a consumer that will call methods on Smile.Builder
smile(Smile)
FaceDetail.Builder eyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
eyeglasses
- Indicates whether or not the face is wearing eye glasses, and the confidence level in the
determination.default FaceDetail.Builder eyeglasses(Consumer<Eyeglasses.Builder> eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
This is a convenience that creates an instance of theEyeglasses.Builder
avoiding the need to create
one manually via Eyeglasses.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to eyeglasses(Eyeglasses)
.eyeglasses
- a consumer that will call methods on Eyeglasses.Builder
eyeglasses(Eyeglasses)
FaceDetail.Builder sunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
sunglasses
- Indicates whether or not the face is wearing sunglasses, and the confidence level in the
determination.default FaceDetail.Builder sunglasses(Consumer<Sunglasses.Builder> sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
This is a convenience that creates an instance of theSunglasses.Builder
avoiding the need to create
one manually via Sunglasses.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to sunglasses(Sunglasses)
.sunglasses
- a consumer that will call methods on Sunglasses.Builder
sunglasses(Sunglasses)
FaceDetail.Builder gender(Gender gender)
Gender of the face and the confidence level in the determination.
gender
- Gender of the face and the confidence level in the determination.default FaceDetail.Builder gender(Consumer<Gender.Builder> gender)
Gender of the face and the confidence level in the determination.
This is a convenience that creates an instance of theGender.Builder
avoiding the need to create one
manually via Gender.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to gender(Gender)
.gender
- a consumer that will call methods on Gender.Builder
gender(Gender)
FaceDetail.Builder beard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
beard
- Indicates whether or not the face has a beard, and the confidence level in the determination.default FaceDetail.Builder beard(Consumer<Beard.Builder> beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
This is a convenience that creates an instance of theBeard.Builder
avoiding the need to create one
manually via Beard.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to beard(Beard)
.beard
- a consumer that will call methods on Beard.Builder
beard(Beard)
FaceDetail.Builder mustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
mustache
- Indicates whether or not the face has a mustache, and the confidence level in the determination.default FaceDetail.Builder mustache(Consumer<Mustache.Builder> mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
This is a convenience that creates an instance of theMustache.Builder
avoiding the need to create
one manually via Mustache.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to mustache(Mustache)
.mustache
- a consumer that will call methods on Mustache.Builder
mustache(Mustache)
FaceDetail.Builder eyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
eyesOpen
- Indicates whether or not the eyes on the face are open, and the confidence level in the determination.default FaceDetail.Builder eyesOpen(Consumer<EyeOpen.Builder> eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
This is a convenience that creates an instance of theEyeOpen.Builder
avoiding the need to create one
manually via EyeOpen.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to eyesOpen(EyeOpen)
.eyesOpen
- a consumer that will call methods on EyeOpen.Builder
eyesOpen(EyeOpen)
FaceDetail.Builder mouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
mouthOpen
- Indicates whether or not the mouth on the face is open, and the confidence level in the determination.default FaceDetail.Builder mouthOpen(Consumer<MouthOpen.Builder> mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
This is a convenience that creates an instance of theMouthOpen.Builder
avoiding the need to create
one manually via MouthOpen.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to mouthOpen(MouthOpen)
.mouthOpen
- a consumer that will call methods on MouthOpen.Builder
mouthOpen(MouthOpen)
FaceDetail.Builder emotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
emotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY,
SAD, and ANGRY.FaceDetail.Builder emotions(Emotion... emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
emotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY,
SAD, and ANGRY.FaceDetail.Builder emotions(Consumer<Emotion.Builder>... emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #emotions(List)
.emotions
- a consumer that will call methods on List.Builder
#emotions(List)
FaceDetail.Builder landmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face. Default attribute.
landmarks
- Indicates the location of landmarks on the face. Default attribute.FaceDetail.Builder landmarks(Landmark... landmarks)
Indicates the location of landmarks on the face. Default attribute.
landmarks
- Indicates the location of landmarks on the face. Default attribute.FaceDetail.Builder landmarks(Consumer<Landmark.Builder>... landmarks)
Indicates the location of landmarks on the face. Default attribute.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #landmarks(List)
.landmarks
- a consumer that will call methods on List.Builder
#landmarks(List)
FaceDetail.Builder pose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
pose
- Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.default FaceDetail.Builder pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
This is a convenience that creates an instance of thePose.Builder
avoiding the need to create one
manually via Pose.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to pose(Pose)
.pose
- a consumer that will call methods on Pose.Builder
pose(Pose)
FaceDetail.Builder quality(ImageQuality quality)
Identifies image brightness and sharpness. Default attribute.
quality
- Identifies image brightness and sharpness. Default attribute.default FaceDetail.Builder quality(Consumer<ImageQuality.Builder> quality)
Identifies image brightness and sharpness. Default attribute.
This is a convenience that creates an instance of theImageQuality.Builder
avoiding the need to
create one manually via ImageQuality.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to quality(ImageQuality)
.quality
- a consumer that will call methods on ImageQuality.Builder
quality(ImageQuality)
FaceDetail.Builder confidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
confidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).
Default attribute.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.