public class EyeOpen
extends java.lang.Object
implements java.io.Serializable
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
Constructor and Description |
---|
EyeOpen() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getConfidence()
Level of confidence in the determination.
|
java.lang.Boolean |
getValue()
Boolean value that indicates whether the eyes on the face are open.
|
int |
hashCode() |
java.lang.Boolean |
isValue()
Boolean value that indicates whether the eyes on the face are open.
|
void |
setConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
void |
setValue(java.lang.Boolean value)
Boolean value that indicates whether the eyes on the face are open.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EyeOpen |
withConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
EyeOpen |
withValue(java.lang.Boolean value)
Boolean value that indicates whether the eyes on the face are open.
|
public java.lang.Boolean isValue()
Boolean value that indicates whether the eyes on the face are open.
Boolean value that indicates whether the eyes on the face are open.
public java.lang.Boolean getValue()
Boolean value that indicates whether the eyes on the face are open.
Boolean value that indicates whether the eyes on the face are open.
public void setValue(java.lang.Boolean value)
Boolean value that indicates whether the eyes on the face are open.
value
- Boolean value that indicates whether the eyes on the face are open.
public EyeOpen withValue(java.lang.Boolean value)
Boolean value that indicates whether the eyes on the face are open.
Returns a reference to this object so that method calls can be chained together.
value
- Boolean value that indicates whether the eyes on the face are open.
public java.lang.Float getConfidence()
Level of confidence in the determination.
Constraints:
Length: 0 - 100
Level of confidence in the determination.
public void setConfidence(java.lang.Float confidence)
Level of confidence in the determination.
Constraints:
Length: 0 - 100
confidence
- Level of confidence in the determination.
public EyeOpen withConfidence(java.lang.Float confidence)
Level of confidence in the determination.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
confidence
- Level of confidence in the determination.
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.