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