Interface FaceRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FaceRecord.Builder,
,FaceRecord> SdkBuilder<FaceRecord.Builder,
,FaceRecord> SdkPojo
- Enclosing class:
FaceRecord
@Mutable
@NotThreadSafe
public static interface FaceRecord.Builder
extends SdkPojo, CopyableBuilder<FaceRecord.Builder,FaceRecord>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FaceRecord.Builder
face
(Consumer<Face.Builder> face) Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.default FaceRecord.Builder
faceDetail
(Consumer<FaceDetail.Builder> faceDetail) Structure containing attributes of the face that the algorithm detected.faceDetail
(FaceDetail faceDetail) Structure containing attributes of the face that the algorithm detected.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
-
face
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
- Parameters:
face
- Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
This is a convenience method that creates an instance of theFace.Builder
avoiding the need to create one manually viaFace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toface(Face)
.- Parameters:
face
- a consumer that will call methods onFace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
faceDetail
Structure containing attributes of the face that the algorithm detected.
- Parameters:
faceDetail
- Structure containing attributes of the face that the algorithm detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceDetail
Structure containing attributes of the face that the algorithm detected.
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 tofaceDetail(FaceDetail)
.- Parameters:
faceDetail
- 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:
-