Class ListCollectionsOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.ListCollectionsOptions.Builder
Enclosing class:
ListCollectionsOptions

public static class ListCollectionsOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public ListCollectionsOptions.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the ListCollectionsOptions builder