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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FaceDetection.Builderface(Consumer<FaceDetail.Builder> face)The face properties for the detected face.FaceDetection.Builderface(FaceDetail face)The face properties for the detected face.FaceDetection.Buildertimestamp(Long timestamp)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timestamp
FaceDetection.Builder timestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected. Note that
Timestampis 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 thatTimestampis 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
FaceDetection.Builder face(FaceDetail 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
default FaceDetection.Builder face(Consumer<FaceDetail.Builder> face)
The face properties for the detected face.
This is a convenience method that creates an instance of theFaceDetail.Builderavoiding the need to create one manually viaFaceDetail.builder().When the
Consumercompletes,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:
face(FaceDetail)
-
-