Interface PersonDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PersonDetail.Builder,,PersonDetail> SdkBuilder<PersonDetail.Builder,,PersonDetail> SdkPojo
- Enclosing class:
PersonDetail
public static interface PersonDetail.Builder
extends SdkPojo, CopyableBuilder<PersonDetail.Builder,PersonDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PersonDetail.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox) Bounding box around the detected person.boundingBox(BoundingBox boundingBox) Bounding box around the detected person.default PersonDetail.Builderface(Consumer<FaceDetail.Builder> face) Face details for the detected person.face(FaceDetail face) Face details for the detected person.Identifier for the person detected person within a video.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
index
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
- Parameters:
index- Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
Bounding box around the detected person.
- Parameters:
boundingBox- Bounding box around the detected person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
Bounding box around the detected person.
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:
-
face
Face details for the detected person.
- Parameters:
face- Face details for the detected person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
Face details for the detected person.
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:
-