public static class AnalyzeVideoResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public AnalyzeVideoResult.Builder videoMetadata(VideoMetadata videoMetadata)
public AnalyzeVideoResult.Builder videoLabels(List<VideoLabel> videoLabels)
Detected labels in a video.
videoLabels
- the value to setpublic AnalyzeVideoResult.Builder videoObjects(List<VideoObject> videoObjects)
Detected objects in a video.
videoObjects
- the value to setpublic AnalyzeVideoResult.Builder videoTrackedObjects(List<VideoTrackedObject> videoTrackedObjects)
Tracked objects in a video.
videoTrackedObjects
- the value to setpublic AnalyzeVideoResult.Builder videoText(List<VideoText> videoText)
Detected text in a video.
videoText
- the value to setpublic AnalyzeVideoResult.Builder videoFaces(List<VideoFace> videoFaces)
Detected faces in a video.
videoFaces
- the value to setpublic AnalyzeVideoResult.Builder ontologyClasses(List<OntologyClass> ontologyClasses)
The ontologyClasses of video labels.
ontologyClasses
- the value to setpublic AnalyzeVideoResult.Builder labelDetectionModelVersion(String labelDetectionModelVersion)
Label Detection model version.
labelDetectionModelVersion
- the value to setpublic AnalyzeVideoResult.Builder objectDetectionModelVersion(String objectDetectionModelVersion)
Object Detection model version.
objectDetectionModelVersion
- the value to setpublic AnalyzeVideoResult.Builder objectTrackingModelVersion(String objectTrackingModelVersion)
Object Tracking model version.
objectTrackingModelVersion
- the value to setpublic AnalyzeVideoResult.Builder textDetectionModelVersion(String textDetectionModelVersion)
Text Detection model version.
textDetectionModelVersion
- the value to setpublic AnalyzeVideoResult.Builder faceDetectionModelVersion(String faceDetectionModelVersion)
Face Detection model version.
faceDetectionModelVersion
- the value to setpublic AnalyzeVideoResult.Builder errors(List<ProcessingError> errors)
Array of possible errors.
errors
- the value to setpublic AnalyzeVideoResult build()
public AnalyzeVideoResult.Builder copy(AnalyzeVideoResult model)
Copyright © 2016–2024. All rights reserved.