Interface ProtectiveEquipmentBodyPart.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectiveEquipmentBodyPart.Builder,
,ProtectiveEquipmentBodyPart> SdkBuilder<ProtectiveEquipmentBodyPart.Builder,
,ProtectiveEquipmentBodyPart> SdkPojo
- Enclosing class:
ProtectiveEquipmentBodyPart
public static interface ProtectiveEquipmentBodyPart.Builder
extends SdkPojo, CopyableBuilder<ProtectiveEquipmentBodyPart.Builder,ProtectiveEquipmentBodyPart>
-
Method Summary
Modifier and TypeMethodDescriptionconfidence
(Float confidence) The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.equipmentDetections
(Collection<EquipmentDetection> equipmentDetections) An array of Personal Protective Equipment items detected around a body part.equipmentDetections
(Consumer<EquipmentDetection.Builder>... equipmentDetections) An array of Personal Protective Equipment items detected around a body part.equipmentDetections
(EquipmentDetection... equipmentDetections) An array of Personal Protective Equipment items detected around a body part.The detected body part.The detected body part.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 Details
-
name
The detected body part.
- Parameters:
name
- The detected body part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The detected body part.
- Parameters:
name
- The detected body part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.
- Parameters:
confidence
- The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equipmentDetections
ProtectiveEquipmentBodyPart.Builder equipmentDetections(Collection<EquipmentDetection> equipmentDetections) An array of Personal Protective Equipment items detected around a body part.
- Parameters:
equipmentDetections
- An array of Personal Protective Equipment items detected around a body part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equipmentDetections
An array of Personal Protective Equipment items detected around a body part.
- Parameters:
equipmentDetections
- An array of Personal Protective Equipment items detected around a body part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equipmentDetections
ProtectiveEquipmentBodyPart.Builder equipmentDetections(Consumer<EquipmentDetection.Builder>... equipmentDetections) An array of Personal Protective Equipment items detected around a body part.
This is a convenience method that creates an instance of theEquipmentDetection.Builder
avoiding the need to create one manually viaEquipmentDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toequipmentDetections(List<EquipmentDetection>)
.- Parameters:
equipmentDetections
- a consumer that will call methods onEquipmentDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-