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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String collectionId)
      Instantiates a new builder with required properties.
      Parameters:
      collectionId - the collectionId
  • Method Details

    • build

      public UpdateCollectionOptions build()
      Builds a UpdateCollectionOptions.
      Returns:
      the new UpdateCollectionOptions instance
    • collectionId

      public UpdateCollectionOptions.Builder collectionId​(String collectionId)
      Set the collectionId.
      Parameters:
      collectionId - the collectionId
      Returns:
      the UpdateCollectionOptions builder
    • name

      public UpdateCollectionOptions.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the UpdateCollectionOptions builder
    • description

      public UpdateCollectionOptions.Builder description​(String description)
      Set the description.
      Parameters:
      description - the description
      Returns:
      the UpdateCollectionOptions builder