Interface PersonDetection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PersonDetection.Builder,,PersonDetection> SdkBuilder<PersonDetection.Builder,,PersonDetection> SdkPojo
- Enclosing class:
PersonDetection
public static interface PersonDetection.Builder
extends SdkPojo, CopyableBuilder<PersonDetection.Builder,PersonDetection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PersonDetection.Builderperson(Consumer<PersonDetail.Builder> person) Details about a person whose path was tracked in a video.person(PersonDetail person) Details about a person whose path was tracked in a video.The time, in milliseconds from the start of the video, that the person's path was tracked.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.- Parameters:
timestamp- The time, in milliseconds from the start of the video, that the person's path was tracked. Note thatTimestampis not guaranteed to be accurate to the individual frame where the person's path first appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
person
Details about a person whose path was tracked in a video.
- Parameters:
person- Details about a person whose path was tracked in a video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
person
Details about a person whose path was tracked in a video.
This is a convenience method that creates an instance of thePersonDetail.Builderavoiding the need to create one manually viaPersonDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperson(PersonDetail).- Parameters:
person- a consumer that will call methods onPersonDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-