public class AgeRange
extends java.lang.Object
implements java.io.Serializable
Structure containing the estimated age range, in years, for a face.
Amazon Rekognition estimates an age range for faces detected in the input image. Estimated age ranges can overlap. A face of a 5-year-old might have an estimated range of 4-6, while the face of a 6-year-old might have an estimated range of 4-8.
Constructor and Description |
---|
AgeRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHigh()
The highest estimated age.
|
java.lang.Integer |
getLow()
The lowest estimated age.
|
int |
hashCode() |
void |
setHigh(java.lang.Integer high)
The highest estimated age.
|
void |
setLow(java.lang.Integer low)
The lowest estimated age.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgeRange |
withHigh(java.lang.Integer high)
The highest estimated age.
|
AgeRange |
withLow(java.lang.Integer low)
The lowest estimated age.
|
public java.lang.Integer getLow()
The lowest estimated age.
Constraints:
Range: 0 -
The lowest estimated age.
public void setLow(java.lang.Integer low)
The lowest estimated age.
Constraints:
Range: 0 -
low
- The lowest estimated age.
public AgeRange withLow(java.lang.Integer low)
The lowest estimated age.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
low
- The lowest estimated age.
public java.lang.Integer getHigh()
The highest estimated age.
Constraints:
Range: 0 -
The highest estimated age.
public void setHigh(java.lang.Integer high)
The highest estimated age.
Constraints:
Range: 0 -
high
- The highest estimated age.
public AgeRange withHigh(java.lang.Integer high)
The highest estimated age.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
high
- The highest estimated age.
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.