Class UpdateCollectionOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v1.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 environmentId, String collectionId, String name)
      Instantiates a new builder with required properties.
      Parameters:
      environmentId - the environmentId
      collectionId - the collectionId
      name - the name
  • Method Details

    • build

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

      public UpdateCollectionOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      Returns:
      the UpdateCollectionOptions builder
    • 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
    • configurationId

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