public class CoversBodyPart
extends java.lang.Object
implements java.io.Serializable
Information about an item of Personal Protective Equipment covering a corresponding body part. For more information, see DetectProtectiveEquipment.
Constructor and Description |
---|
CoversBodyPart() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getConfidence()
The confidence that Amazon Rekognition has in the value of
Value . |
java.lang.Boolean |
getValue()
True if the PPE covers the corresponding body part, otherwise false.
|
int |
hashCode() |
java.lang.Boolean |
isValue()
True if the PPE covers the corresponding body part, otherwise false.
|
void |
setConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition has in the value of
Value . |
void |
setValue(java.lang.Boolean value)
True if the PPE covers the corresponding body part, otherwise false.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CoversBodyPart |
withConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition has in the value of
Value . |
CoversBodyPart |
withValue(java.lang.Boolean value)
True if the PPE covers the corresponding body part, otherwise false.
|
public java.lang.Float getConfidence()
The confidence that Amazon Rekognition has in the value of
Value
.
Constraints:
Length: 0 - 100
The confidence that Amazon Rekognition has in the value of
Value
.
public void setConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition has in the value of
Value
.
Constraints:
Length: 0 - 100
confidence
-
The confidence that Amazon Rekognition has in the value of
Value
.
public CoversBodyPart withConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition has in the value of
Value
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
confidence
-
The confidence that Amazon Rekognition has in the value of
Value
.
public java.lang.Boolean isValue()
True if the PPE covers the corresponding body part, otherwise false.
True if the PPE covers the corresponding body part, otherwise false.
public java.lang.Boolean getValue()
True if the PPE covers the corresponding body part, otherwise false.
True if the PPE covers the corresponding body part, otherwise false.
public void setValue(java.lang.Boolean value)
True if the PPE covers the corresponding body part, otherwise false.
value
- True if the PPE covers the corresponding body part, otherwise false.
public CoversBodyPart withValue(java.lang.Boolean value)
True if the PPE covers the corresponding body part, otherwise false.
Returns a reference to this object so that method calls can be chained together.
value
- True if the PPE covers the corresponding body part, otherwise false.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.