public static class AnalyzeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
AnalyzeOptions.Builder()
Instantiates a new builder.
|
AnalyzeOptions.Builder(java.util.List<java.lang.String> collectionIds,
java.util.List<java.lang.String> features)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AnalyzeOptions.Builder |
addCollectionIds(java.lang.String collectionIds)
Adds an collectionIds to collectionIds.
|
AnalyzeOptions.Builder |
addFeatures(java.lang.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(java.lang.String imageUrl)
Adds an imageUrl to imageUrl.
|
AnalyzeOptions |
build()
Builds a AnalyzeOptions.
|
AnalyzeOptions.Builder |
collectionIds(java.util.List<java.lang.String> collectionIds)
Set the collectionIds.
|
AnalyzeOptions.Builder |
features(java.util.List<java.lang.String> features)
Set the features.
|
AnalyzeOptions.Builder |
imagesFile(java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
Set the imagesFile.
|
AnalyzeOptions.Builder |
imageUrl(java.util.List<java.lang.String> imageUrl)
Set the imageUrl.
|
AnalyzeOptions.Builder |
threshold(java.lang.Float threshold)
Set the threshold.
|
public AnalyzeOptions.Builder()
public AnalyzeOptions.Builder(java.util.List<java.lang.String> collectionIds, java.util.List<java.lang.String> features)
collectionIds
- the collectionIdsfeatures
- the featurespublic AnalyzeOptions build()
public AnalyzeOptions.Builder addCollectionIds(java.lang.String collectionIds)
collectionIds
- the new collectionIdspublic AnalyzeOptions.Builder addFeatures(java.lang.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(java.lang.String imageUrl)
imageUrl
- the new imageUrlpublic AnalyzeOptions.Builder collectionIds(java.util.List<java.lang.String> collectionIds)
collectionIds
- the collectionIdspublic AnalyzeOptions.Builder features(java.util.List<java.lang.String> features)
features
- the featurespublic AnalyzeOptions.Builder imagesFile(java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
imagesFile
- the imagesFilepublic AnalyzeOptions.Builder imageUrl(java.util.List<java.lang.String> imageUrl)
imageUrl
- the imageUrlpublic AnalyzeOptions.Builder threshold(java.lang.Float threshold)
threshold
- the threshold