Class EquipmentDetection
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.EquipmentDetection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EquipmentDetection.Builder,EquipmentDetection>
@Generated("software.amazon.awssdk:codegen") public final class EquipmentDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EquipmentDetection.Builder,EquipmentDetection>
Information about an item of Personal Protective Equipment (PPE) detected by DetectProtectiveEquipment. For more information, see DetectProtectiveEquipment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEquipmentDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBoxboundingBox()A bounding box surrounding the item of detected PPE.static EquipmentDetection.Builderbuilder()Floatconfidence()The confidence that Amazon Rekognition has that the bounding box (BoundingBox) contains an item of PPE.CoversBodyPartcoversBodyPart()Information about the body part covered by the detected PPE.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EquipmentDetection.Builder>serializableBuilderClass()EquipmentDetection.BuildertoBuilder()StringtoString()Returns a string representation of this object.ProtectiveEquipmentTypetype()The type of detected PPE.StringtypeAsString()The type of detected PPE.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
boundingBox
public final BoundingBox boundingBox()
A bounding box surrounding the item of detected PPE.
- Returns:
- A bounding box surrounding the item of detected PPE.
-
confidence
public final Float confidence()
The confidence that Amazon Rekognition has that the bounding box (
BoundingBox) contains an item of PPE.- Returns:
- The confidence that Amazon Rekognition has that the bounding box (
BoundingBox) contains an item of PPE.
-
type
public final ProtectiveEquipmentType type()
The type of detected PPE.
If the service returns an enum value that is not available in the current SDK version,
typewill returnProtectiveEquipmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of detected PPE.
- See Also:
ProtectiveEquipmentType
-
typeAsString
public final String typeAsString()
The type of detected PPE.
If the service returns an enum value that is not available in the current SDK version,
typewill returnProtectiveEquipmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of detected PPE.
- See Also:
ProtectiveEquipmentType
-
coversBodyPart
public final CoversBodyPart coversBodyPart()
Information about the body part covered by the detected PPE.
- Returns:
- Information about the body part covered by the detected PPE.
-
toBuilder
public EquipmentDetection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EquipmentDetection.Builder,EquipmentDetection>
-
builder
public static EquipmentDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends EquipmentDetection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-