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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PersonDetail.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)Bounding box around the detected person.PersonDetail.BuilderboundingBox(BoundingBox boundingBox)Bounding box around the detected person.default PersonDetail.Builderface(Consumer<FaceDetail.Builder> face)Face details for the detected person.PersonDetail.Builderface(FaceDetail face)Face details for the detected person.PersonDetail.Builderindex(Long index)Identifier for the person detected person within a video.-
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
-
index
PersonDetail.Builder index(Long 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
PersonDetail.Builder boundingBox(BoundingBox 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
default PersonDetail.Builder boundingBox(Consumer<BoundingBox.Builder> 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:
boundingBox(BoundingBox)
-
face
PersonDetail.Builder face(FaceDetail 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
default PersonDetail.Builder face(Consumer<FaceDetail.Builder> 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:
face(FaceDetail)
-
-