Interface ProtectiveEquipmentPerson.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectiveEquipmentPerson.Builder,,ProtectiveEquipmentPerson> SdkBuilder<ProtectiveEquipmentPerson.Builder,,ProtectiveEquipmentPerson> SdkPojo
- Enclosing class:
ProtectiveEquipmentPerson
-
Method Summary
Modifier and TypeMethodDescriptionbodyParts(Collection<ProtectiveEquipmentBodyPart> bodyParts) An array of body parts detected on a person's body (including body parts without PPE).bodyParts(Consumer<ProtectiveEquipmentBodyPart.Builder>... bodyParts) An array of body parts detected on a person's body (including body parts without PPE).bodyParts(ProtectiveEquipmentBodyPart... bodyParts) An array of body parts detected on a person's body (including body parts without PPE).boundingBox(Consumer<BoundingBox.Builder> boundingBox) A bounding box around the detected person.boundingBox(BoundingBox boundingBox) A bounding box around the detected person.confidence(Float confidence) The confidence that Amazon Rekognition has that the bounding box contains a person.The identifier for the detected person.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
-
bodyParts
An array of body parts detected on a person's body (including body parts without PPE).
- Parameters:
bodyParts- An array of body parts detected on a person's body (including body parts without PPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bodyParts
An array of body parts detected on a person's body (including body parts without PPE).
- Parameters:
bodyParts- An array of body parts detected on a person's body (including body parts without PPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bodyParts
ProtectiveEquipmentPerson.Builder bodyParts(Consumer<ProtectiveEquipmentBodyPart.Builder>... bodyParts) An array of body parts detected on a person's body (including body parts without PPE).
This is a convenience method that creates an instance of theProtectiveEquipmentBodyPart.Builderavoiding the need to create one manually viaProtectiveEquipmentBodyPart.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobodyParts(List<ProtectiveEquipmentBodyPart>).- Parameters:
bodyParts- a consumer that will call methods onProtectiveEquipmentBodyPart.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boundingBox
A bounding box around the detected person.
- Parameters:
boundingBox- A bounding box around the detected person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
A 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:
-
confidence
The confidence that Amazon Rekognition has that the bounding box contains a person.
- Parameters:
confidence- The confidence that Amazon Rekognition has that the bounding box contains a person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier for the detected person. The identifier is only unique for a single call to
DetectProtectiveEquipment.- Parameters:
id- The identifier for the detected person. The identifier is only unique for a single call toDetectProtectiveEquipment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-