@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgeRange extends Object implements Serializable, Cloneable, StructuredPojo
Structure containing the estimated age range, in years, for a face.
Rekognition estimates an age-range for faces detected in the input image. Estimated age ranges can overlap; a face of a 5 year old may have an estimated range of 4-6 whilst the face of a 6 year old may have an estimated range of 4-8.
Constructor and Description |
---|
AgeRange() |
Modifier and Type | Method and Description |
---|---|
AgeRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getHigh()
The highest estimated age.
|
Integer |
getLow()
The lowest estimated age.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHigh(Integer high)
The highest estimated age.
|
void |
setLow(Integer low)
The lowest estimated age.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AgeRange |
withHigh(Integer high)
The highest estimated age.
|
AgeRange |
withLow(Integer low)
The lowest estimated age.
|
public void setLow(Integer low)
The lowest estimated age.
low
- The lowest estimated age.public Integer getLow()
The lowest estimated age.
public AgeRange withLow(Integer low)
The lowest estimated age.
low
- The lowest estimated age.public void setHigh(Integer high)
The highest estimated age.
high
- The highest estimated age.public Integer getHigh()
The highest estimated age.
public AgeRange withHigh(Integer high)
The highest estimated age.
high
- The highest estimated age.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.