public class Smile
extends java.lang.Object
implements java.io.Serializable
Indicates whether or not the face is smiling, and the confidence level in the determination.
Constructor and Description |
---|
Smile() |
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 face is smiling or not.
|
int |
hashCode() |
java.lang.Boolean |
isValue()
Boolean value that indicates whether the face is smiling or not.
|
void |
setConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
void |
setValue(java.lang.Boolean value)
Boolean value that indicates whether the face is smiling or not.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Smile |
withConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
Smile |
withValue(java.lang.Boolean value)
Boolean value that indicates whether the face is smiling or not.
|
public java.lang.Boolean isValue()
Boolean value that indicates whether the face is smiling or not.
Boolean value that indicates whether the face is smiling or not.
public java.lang.Boolean getValue()
Boolean value that indicates whether the face is smiling or not.
Boolean value that indicates whether the face is smiling or not.
public void setValue(java.lang.Boolean value)
Boolean value that indicates whether the face is smiling or not.
value
- Boolean value that indicates whether the face is smiling or not.
public Smile withValue(java.lang.Boolean value)
Boolean value that indicates whether the face is smiling or not.
Returns a reference to this object so that method calls can be chained together.
value
- Boolean value that indicates whether the face is smiling or not.
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 Smile 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.