Class PersonDetection
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.PersonDetection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PersonDetection.Builder,PersonDetection>
@Generated("software.amazon.awssdk:codegen") public final class PersonDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PersonDetection.Builder,PersonDetection>
Details and path tracking information for a single time a person's path is tracked in a video. Amazon Rekognition operations that track people's paths return an array of
PersonDetectionobjects with elements for each time a person's path is tracked in a video.For more information, see GetPersonTracking in the Amazon Rekognition Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePersonDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PersonDetection.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PersonDetailperson()Details about a person whose path was tracked in a video.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PersonDetection.Builder>serializableBuilderClass()Longtimestamp()The time, in milliseconds from the start of the video, that the person's path was tracked.PersonDetection.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
-
timestamp
public final Long timestamp()
The time, in milliseconds from the start of the video, that the person's path was tracked. Note that
Timestampis not guaranteed to be accurate to the individual frame where the person's path first appears.- Returns:
- The time, in milliseconds from the start of the video, that the person's path was tracked. Note that
Timestampis not guaranteed to be accurate to the individual frame where the person's path first appears.
-
person
public final PersonDetail person()
Details about a person whose path was tracked in a video.
- Returns:
- Details about a person whose path was tracked in a video.
-
toBuilder
public PersonDetection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PersonDetection.Builder,PersonDetection>
-
builder
public static PersonDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends PersonDetection.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-