Class CreateCollectionOptions.Builder
java.lang.Object
com.ibm.watson.visual_recognition.v4.model.CreateCollectionOptions.Builder
- Enclosing class:
- CreateCollectionOptions
public static class CreateCollectionOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description CreateCollectionOptions
build()
Builds a CreateCollectionOptions.CreateCollectionOptions.Builder
description(String description)
Set the description.CreateCollectionOptions.Builder
name(String name)
Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a CreateCollectionOptions.- Returns:
- the new CreateCollectionOptions instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateCollectionOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateCollectionOptions builder
-