Class AgeRange
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.AgeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgeRange.Builder,AgeRange>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAgeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgeRange.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerhigh()The highest estimated age.Integerlow()The lowest estimated age.List<SdkField<?>>sdkFields()static Class<? extends AgeRange.Builder>serializableBuilderClass()AgeRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
low
public final Integer low()
The lowest estimated age.
- Returns:
- The lowest estimated age.
-
high
public final Integer high()
The highest estimated age.
- Returns:
- The highest estimated age.
-
toBuilder
public AgeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgeRange.Builder,AgeRange>
-
builder
public static AgeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends AgeRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-