Class CreateCollectionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.CreateCollectionOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCollection options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateCollectionOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
description()
Gets the description.String
name()
Gets the name.CreateCollectionOptions.Builder
newBuilder()
New builder.TrainingStatus
trainingStatus()
Gets the trainingStatus.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateCollectionOptions builder
-
name
Gets the name.The name of the collection. The name can contain alphanumeric, underscore, hyphen, and dot characters. It cannot begin with the reserved prefix `sys-`.
- Returns:
- the name
-
description
Gets the description.The description of the collection.
- Returns:
- the description
-
trainingStatus
Gets the trainingStatus.Training status information for the collection.
- Returns:
- the trainingStatus
-