Interface FaceRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FaceRecord.Builder,FaceRecord>,SdkBuilder<FaceRecord.Builder,FaceRecord>,SdkPojo
- Enclosing class:
- FaceRecord
public static interface FaceRecord.Builder extends SdkPojo, CopyableBuilder<FaceRecord.Builder,FaceRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FaceRecord.Builderface(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.FaceRecord.Builderface(Face 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.default FaceRecord.BuilderfaceDetail(Consumer<FaceDetail.Builder> faceDetail)Structure containing attributes of the face that the algorithm detected.FaceRecord.BuilderfaceDetail(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 Detail
-
face
FaceRecord.Builder face(Face 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
default 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.
This is a convenience method that creates an instance of theFace.Builderavoiding the need to create one manually viaFace.builder().When the
Consumercompletes,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:
face(Face)
-
faceDetail
FaceRecord.Builder faceDetail(FaceDetail 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
default FaceRecord.Builder faceDetail(Consumer<FaceDetail.Builder> faceDetail)
Structure containing attributes of the face that the algorithm detected.
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 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:
faceDetail(FaceDetail)
-
-