Interface PersonDetail.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PersonDetail.Builder,,- PersonDetail> - SdkBuilder<PersonDetail.Builder,,- PersonDetail> - SdkPojo
- Enclosing class:
- PersonDetail
@Mutable
@NotThreadSafe
public static interface PersonDetail.Builder
extends SdkPojo, CopyableBuilder<PersonDetail.Builder,PersonDetail> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
indexIdentifier 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.
 
- 
boundingBoxBounding 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.
 
- 
boundingBoxBounding 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 on- BoundingBox.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
faceFace 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.
 
- 
faceFace 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 on- FaceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-