Interface FaceDetection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FaceDetection.Builder,
,FaceDetection> SdkBuilder<FaceDetection.Builder,
,FaceDetection> SdkPojo
- Enclosing class:
FaceDetection
public static interface FaceDetection.Builder
extends SdkPojo, CopyableBuilder<FaceDetection.Builder,FaceDetection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FaceDetection.Builder
face
(Consumer<FaceDetail.Builder> face) The face properties for the detected face.face
(FaceDetail face) The face properties for the detected face.Time, in milliseconds from the start of the video, that the face was detected.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
timestamp
Time, in milliseconds from the start of the video, that the face was detected. Note that
Timestamp
is not guaranteed to be accurate to the individual frame where the face first appears.- Parameters:
timestamp
- Time, in milliseconds from the start of the video, that the face was detected. Note thatTimestamp
is not guaranteed to be accurate to the individual frame where the face first appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
The face properties for the detected face.
- Parameters:
face
- The face properties for the detected face.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
The face properties for the detected face.
This is a convenience method that creates an instance of theFaceDetail.Builder
avoiding the need to create one manually viaFaceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toface(FaceDetail)
.- Parameters:
face
- a consumer that will call methods onFaceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-