Class UpdateCollectionOptions.Builder
java.lang.Object
com.ibm.watson.visual_recognition.v4.model.UpdateCollectionOptions.Builder
- Enclosing class:
- UpdateCollectionOptions
public static class UpdateCollectionOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description UpdateCollectionOptionsbuild()Builds a UpdateCollectionOptions.UpdateCollectionOptions.BuildercollectionId(String collectionId)Set the collectionId.UpdateCollectionOptions.Builderdescription(String description)Set the description.UpdateCollectionOptions.Buildername(String name)Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
collectionId- the collectionId
-
-
Method Details
-
build
Builds a UpdateCollectionOptions.- Returns:
- the new UpdateCollectionOptions instance
-
collectionId
Set the collectionId.- Parameters:
collectionId- the collectionId- Returns:
- the UpdateCollectionOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the UpdateCollectionOptions builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the UpdateCollectionOptions builder
-