public static class AnalyzeImageResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public AnalyzeImageResult.Builder imageObjects(List<ImageObject> imageObjects)
The detected objects.
imageObjects
- the value to setpublic AnalyzeImageResult.Builder labels(List<Label> labels)
The image classification labels.
labels
- the value to setpublic AnalyzeImageResult.Builder ontologyClasses(List<OntologyClass> ontologyClasses)
The ontologyClasses of image labels.
ontologyClasses
- the value to setpublic AnalyzeImageResult.Builder imageText(ImageText imageText)
public AnalyzeImageResult.Builder detectedFaces(List<Face> detectedFaces)
The detected faces.
detectedFaces
- the value to setpublic AnalyzeImageResult.Builder imageClassificationModelVersion(String imageClassificationModelVersion)
The image classification model version.
imageClassificationModelVersion
- the value to setpublic AnalyzeImageResult.Builder objectDetectionModelVersion(String objectDetectionModelVersion)
The object detection model version.
objectDetectionModelVersion
- the value to setpublic AnalyzeImageResult.Builder textDetectionModelVersion(String textDetectionModelVersion)
The text detection model version.
textDetectionModelVersion
- the value to setpublic AnalyzeImageResult.Builder faceDetectionModelVersion(String faceDetectionModelVersion)
The face detection model version.
faceDetectionModelVersion
- the value to setpublic AnalyzeImageResult.Builder errors(List<ProcessingError> errors)
The errors encountered during image analysis.
errors
- the value to setpublic AnalyzeImageResult build()
public AnalyzeImageResult.Builder copy(AnalyzeImageResult model)
Copyright © 2016–2024. All rights reserved.