public static class AnalyzeOptions.Builder extends Object
| Constructor and Description | 
|---|
Builder()
Instantiates a new builder. 
 | 
Builder(List<String> collectionIds,
       List<String> features)
Instantiates a new builder with required properties. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AnalyzeOptions.Builder | 
addCollectionIds(String collectionIds)
Adds an collectionIds to collectionIds. 
 | 
AnalyzeOptions.Builder | 
addFeatures(String features)
Adds an features to features. 
 | 
AnalyzeOptions.Builder | 
addImagesFile(com.ibm.cloud.sdk.core.service.model.FileWithMetadata imagesFile)
Adds an imagesFile to imagesFile. 
 | 
AnalyzeOptions.Builder | 
addImageUrl(String imageUrl)
Adds an imageUrl to imageUrl. 
 | 
AnalyzeOptions | 
build()
Builds a AnalyzeOptions. 
 | 
AnalyzeOptions.Builder | 
collectionIds(List<String> collectionIds)
Set the collectionIds. 
 | 
AnalyzeOptions.Builder | 
features(List<String> features)
Set the features. 
 | 
AnalyzeOptions.Builder | 
imagesFile(List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
Set the imagesFile. 
 | 
AnalyzeOptions.Builder | 
imageUrl(List<String> imageUrl)
Set the imageUrl. 
 | 
AnalyzeOptions.Builder | 
threshold(Float threshold)
Set the threshold. 
 | 
public AnalyzeOptions build()
public AnalyzeOptions.Builder addCollectionIds(String collectionIds)
collectionIds - the new collectionIdspublic AnalyzeOptions.Builder addFeatures(String features)
features - the new featurespublic AnalyzeOptions.Builder addImagesFile(com.ibm.cloud.sdk.core.service.model.FileWithMetadata imagesFile)
imagesFile - the new imagesFilepublic AnalyzeOptions.Builder addImageUrl(String imageUrl)
imageUrl - the new imageUrlpublic AnalyzeOptions.Builder collectionIds(List<String> collectionIds)
collectionIds - the collectionIdspublic AnalyzeOptions.Builder features(List<String> features)
features - the featurespublic AnalyzeOptions.Builder imagesFile(List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
imagesFile - the imagesFilepublic AnalyzeOptions.Builder imageUrl(List<String> imageUrl)
imageUrl - the imageUrlpublic AnalyzeOptions.Builder threshold(Float threshold)
threshold - the thresholdCopyright © 2021 IBM Cloud. All rights reserved.