Interface ProtectiveEquipmentPerson.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectiveEquipmentPerson.Builder,ProtectiveEquipmentPerson>,SdkBuilder<ProtectiveEquipmentPerson.Builder,ProtectiveEquipmentPerson>,SdkPojo
- Enclosing class:
- ProtectiveEquipmentPerson
public static interface ProtectiveEquipmentPerson.Builder extends SdkPojo, CopyableBuilder<ProtectiveEquipmentPerson.Builder,ProtectiveEquipmentPerson>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProtectiveEquipmentPerson.BuilderbodyParts(Collection<ProtectiveEquipmentBodyPart> bodyParts)An array of body parts detected on a person's body (including body parts without PPE).ProtectiveEquipmentPerson.BuilderbodyParts(Consumer<ProtectiveEquipmentBodyPart.Builder>... bodyParts)An array of body parts detected on a person's body (including body parts without PPE).ProtectiveEquipmentPerson.BuilderbodyParts(ProtectiveEquipmentBodyPart... bodyParts)An array of body parts detected on a person's body (including body parts without PPE).default ProtectiveEquipmentPerson.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)A bounding box around the detected person.ProtectiveEquipmentPerson.BuilderboundingBox(BoundingBox boundingBox)A bounding box around the detected person.ProtectiveEquipmentPerson.Builderconfidence(Float confidence)The confidence that Amazon Rekognition has that the bounding box contains a person.ProtectiveEquipmentPerson.Builderid(Integer id)The identifier for the detected person.-
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, sdkFields
-
-
-
-
Method Detail
-
bodyParts
ProtectiveEquipmentPerson.Builder bodyParts(Collection<ProtectiveEquipmentBodyPart> 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(ProtectiveEquipmentBodyPart... 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 to#bodyParts(List.) - 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:
#bodyParts(java.util.Collection)
-
boundingBox
ProtectiveEquipmentPerson.Builder boundingBox(BoundingBox 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
default ProtectiveEquipmentPerson.Builder boundingBox(Consumer<BoundingBox.Builder> 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:
boundingBox(BoundingBox)
-
confidence
ProtectiveEquipmentPerson.Builder confidence(Float 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
ProtectiveEquipmentPerson.Builder id(Integer 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.
-
-