public class Gender
extends java.lang.Object
implements java.io.Serializable
Gender of the face and the confidence level in the determination.
Constructor and Description |
---|
Gender() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getConfidence()
Level of confidence in the determination.
|
java.lang.String |
getValue()
Gender of the face.
|
int |
hashCode() |
void |
setConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
void |
setValue(GenderType value)
Gender of the face.
|
void |
setValue(java.lang.String value)
Gender of the face.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Gender |
withConfidence(java.lang.Float confidence)
Level of confidence in the determination.
|
Gender |
withValue(GenderType value)
Gender of the face.
|
Gender |
withValue(java.lang.String value)
Gender of the face.
|
public java.lang.String getValue()
Gender of the face.
Constraints:
Allowed Values: Male, Female
Gender of the face.
GenderType
public void setValue(java.lang.String value)
Gender of the face.
Constraints:
Allowed Values: Male, Female
value
- Gender of the face.
GenderType
public Gender withValue(java.lang.String value)
Gender of the face.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Male, Female
value
- Gender of the face.
GenderType
public void setValue(GenderType value)
Gender of the face.
Constraints:
Allowed Values: Male, Female
value
- Gender of the face.
GenderType
public Gender withValue(GenderType value)
Gender of the face.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Male, Female
value
- Gender of the face.
GenderType
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 Gender 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.