public static class AddImagesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AddImagesOptions.Builder |
addImagesFile(com.ibm.cloud.sdk.core.service.model.FileWithMetadata imagesFile)
Adds an imagesFile to imagesFile.
|
AddImagesOptions.Builder |
addImageUrl(String imageUrl)
Adds an imageUrl to imageUrl.
|
AddImagesOptions |
build()
Builds a AddImagesOptions.
|
AddImagesOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
AddImagesOptions.Builder |
imagesFile(List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
Set the imagesFile.
|
AddImagesOptions.Builder |
imageUrl(List<String> imageUrl)
Set the imageUrl.
|
AddImagesOptions.Builder |
trainingData(String trainingData)
Set the trainingData.
|
public Builder()
public Builder(String collectionId)
collectionId
- the collectionIdpublic AddImagesOptions build()
public AddImagesOptions.Builder addImagesFile(com.ibm.cloud.sdk.core.service.model.FileWithMetadata imagesFile)
imagesFile
- the new imagesFilepublic AddImagesOptions.Builder addImageUrl(String imageUrl)
imageUrl
- the new imageUrlpublic AddImagesOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic AddImagesOptions.Builder imagesFile(List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
imagesFile
- the imagesFilepublic AddImagesOptions.Builder imageUrl(List<String> imageUrl)
imageUrl
- the imageUrlpublic AddImagesOptions.Builder trainingData(String trainingData)
trainingData
- the trainingDataCopyright © 2021 IBM Cloud. All rights reserved.