public static class AddImagesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
AddImagesOptions.Builder()
Instantiates a new builder.
|
AddImagesOptions.Builder(java.lang.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(java.lang.String imageUrl)
Adds an imageUrl to imageUrl.
|
AddImagesOptions |
build()
Builds a AddImagesOptions.
|
AddImagesOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
AddImagesOptions.Builder |
imagesFile(java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
Set the imagesFile.
|
AddImagesOptions.Builder |
imageUrl(java.util.List<java.lang.String> imageUrl)
Set the imageUrl.
|
AddImagesOptions.Builder |
trainingData(java.lang.String trainingData)
Set the trainingData.
|
public AddImagesOptions.Builder()
public AddImagesOptions.Builder(java.lang.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(java.lang.String imageUrl)
imageUrl
- the new imageUrlpublic AddImagesOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic AddImagesOptions.Builder imagesFile(java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile)
imagesFile
- the imagesFilepublic AddImagesOptions.Builder imageUrl(java.util.List<java.lang.String> imageUrl)
imageUrl
- the imageUrlpublic AddImagesOptions.Builder trainingData(java.lang.String trainingData)
trainingData
- the trainingData