Interface EquipmentDetection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EquipmentDetection.Builder,
,EquipmentDetection> SdkBuilder<EquipmentDetection.Builder,
,EquipmentDetection> SdkPojo
- Enclosing class:
EquipmentDetection
public static interface EquipmentDetection.Builder
extends SdkPojo, CopyableBuilder<EquipmentDetection.Builder,EquipmentDetection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EquipmentDetection.Builder
boundingBox
(Consumer<BoundingBox.Builder> boundingBox) A bounding box surrounding the item of detected PPE.boundingBox
(BoundingBox boundingBox) A bounding box surrounding the item of detected PPE.confidence
(Float confidence) The confidence that Amazon Rekognition has that the bounding box (BoundingBox
) contains an item of PPE.default EquipmentDetection.Builder
coversBodyPart
(Consumer<CoversBodyPart.Builder> coversBodyPart) Information about the body part covered by the detected PPE.coversBodyPart
(CoversBodyPart coversBodyPart) Information about the body part covered by the detected PPE.The type of detected PPE.type
(ProtectiveEquipmentType type) The type of detected PPE.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
-
boundingBox
A bounding box surrounding the item of detected PPE.
- Parameters:
boundingBox
- A bounding box surrounding the item of detected PPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
A bounding box surrounding the item of detected PPE.
This is a convenience method that creates an instance of theBoundingBox.Builder
avoiding the need to create one manually viaBoundingBox.builder()
.When the
Consumer
completes,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 (
BoundingBox
) contains an item of PPE.- Parameters:
confidence
- The confidence that Amazon Rekognition has that the bounding box (BoundingBox
) contains an item of PPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of detected PPE.
- Parameters:
type
- The type of detected PPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of detected PPE.
- Parameters:
type
- The type of detected PPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coversBodyPart
Information about the body part covered by the detected PPE.
- Parameters:
coversBodyPart
- Information about the body part covered by the detected PPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coversBodyPart
Information about the body part covered by the detected PPE.
This is a convenience method that creates an instance of theCoversBodyPart.Builder
avoiding the need to create one manually viaCoversBodyPart.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoversBodyPart(CoversBodyPart)
.- Parameters:
coversBodyPart
- a consumer that will call methods onCoversBodyPart.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-