@Generated(value="software.amazon.awssdk:codegen") public final class AgeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgeRange.Builder,AgeRange>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
AgeRange.Builder |
Modifier and Type | Method and Description |
---|---|
static AgeRange.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
high()
The highest estimated age.
|
Integer |
low()
The lowest estimated age.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgeRange.Builder> |
serializableBuilderClass() |
AgeRange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer low()
The lowest estimated age.
public Integer high()
The highest estimated age.
public AgeRange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AgeRange.Builder,AgeRange>
public static AgeRange.Builder builder()
public static Class<? extends AgeRange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.