Class GetModelFileOptions.Builder
java.lang.Object
com.ibm.watson.visual_recognition.v4.model.GetModelFileOptions.Builder
- Enclosing class:
- GetModelFileOptions
public static class GetModelFileOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetModelFileOptions
build()
Builds a GetModelFileOptions.GetModelFileOptions.Builder
collectionId(String collectionId)
Set the collectionId.GetModelFileOptions.Builder
feature(String feature)
Set the feature.GetModelFileOptions.Builder
modelFormat(String modelFormat)
Set the modelFormat.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
collectionId
- the collectionIdfeature
- the featuremodelFormat
- the modelFormat
-
-
Method Details
-
build
Builds a GetModelFileOptions.- Returns:
- the new GetModelFileOptions instance
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the GetModelFileOptions builder
-
feature
Set the feature.- Parameters:
feature
- the feature- Returns:
- the GetModelFileOptions builder
-
modelFormat
Set the modelFormat.- Parameters:
modelFormat
- the modelFormat- Returns:
- the GetModelFileOptions builder
-