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 Details

    • 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 the BoundingBox.Builder avoiding the need to create one manually via BoundingBox.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to boundingBox(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:
    • 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 the FaceDetail.Builder avoiding the need to create one manually via FaceDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to face(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: