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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EquipmentDetection.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)A bounding box surrounding the item of detected PPE.EquipmentDetection.BuilderboundingBox(BoundingBox boundingBox)A bounding box surrounding the item of detected PPE.EquipmentDetection.Builderconfidence(Float confidence)The confidence that Amazon Rekognition has that the bounding box (BoundingBox) contains an item of PPE.default EquipmentDetection.BuildercoversBodyPart(Consumer<CoversBodyPart.Builder> coversBodyPart)Information about the body part covered by the detected PPE.EquipmentDetection.BuildercoversBodyPart(CoversBodyPart coversBodyPart)Information about the body part covered by the detected PPE.EquipmentDetection.Buildertype(String type)The type of detected PPE.EquipmentDetection.Buildertype(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
boundingBox
EquipmentDetection.Builder boundingBox(BoundingBox 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
default EquipmentDetection.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
A bounding box surrounding the item of detected PPE.
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
EquipmentDetection.Builder confidence(Float 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
EquipmentDetection.Builder type(String 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:
ProtectiveEquipmentType,ProtectiveEquipmentType
-
type
EquipmentDetection.Builder type(ProtectiveEquipmentType 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:
ProtectiveEquipmentType,ProtectiveEquipmentType
-
coversBodyPart
EquipmentDetection.Builder coversBodyPart(CoversBodyPart 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
default EquipmentDetection.Builder coversBodyPart(Consumer<CoversBodyPart.Builder> coversBodyPart)
Information about the body part covered by the detected PPE.
This is a convenience method that creates an instance of theCoversBodyPart.Builderavoiding the need to create one manually viaCoversBodyPart.builder().When the
Consumercompletes,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:
coversBodyPart(CoversBodyPart)
-
-