StructuredPojo
, ToCopyableBuilder<AgeRange.Builder,AgeRange>
@Generated("software.amazon.awssdk:codegen") public class AgeRange extends Object implements StructuredPojo, ToCopyableBuilder<AgeRange.Builder,AgeRange>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AgeRange.Builder |
Modifier and Type | Method | Description |
---|---|---|
static AgeRange.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
high() |
The highest estimated age.
|
Integer |
low() |
The lowest estimated age.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.