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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectiveEquipmentBodyPart.Builderconfidence(Float confidence)The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.ProtectiveEquipmentBodyPart.BuilderequipmentDetections(Collection<EquipmentDetection> equipmentDetections)An array of Personal Protective Equipment items detected around a body part.ProtectiveEquipmentBodyPart.BuilderequipmentDetections(Consumer<EquipmentDetection.Builder>... equipmentDetections)An array of Personal Protective Equipment items detected around a body part.ProtectiveEquipmentBodyPart.BuilderequipmentDetections(EquipmentDetection... equipmentDetections)An array of Personal Protective Equipment items detected around a body part.ProtectiveEquipmentBodyPart.Buildername(String name)The detected body part.ProtectiveEquipmentBodyPart.Buildername(BodyPart name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ProtectiveEquipmentBodyPart.Builder name(String name)
The detected body part.
-
name
ProtectiveEquipmentBodyPart.Builder name(BodyPart name)
The detected body part.
-
confidence
ProtectiveEquipmentBodyPart.Builder confidence(Float 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
ProtectiveEquipmentBodyPart.Builder equipmentDetections(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
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.Builderavoiding the need to create one manually viaEquipmentDetection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#equipmentDetections(List.) - 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:
#equipmentDetections(java.util.Collection)
-
-