Class ListFieldsOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v2.model.ListFieldsOptions.Builder
Enclosing class:
ListFieldsOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public ListFieldsOptions build()
      Builds a ListFieldsOptions.
      Returns:
      the new ListFieldsOptions instance
    • addCollectionIds

      public ListFieldsOptions.Builder addCollectionIds​(String collectionIds)
      Adds an collectionIds to collectionIds.
      Parameters:
      collectionIds - the new collectionIds
      Returns:
      the ListFieldsOptions builder
    • projectId

      public ListFieldsOptions.Builder projectId​(String projectId)
      Set the projectId.
      Parameters:
      projectId - the projectId
      Returns:
      the ListFieldsOptions builder
    • collectionIds

      public ListFieldsOptions.Builder collectionIds​(List<String> collectionIds)
      Set the collectionIds. Existing collectionIds will be replaced.
      Parameters:
      collectionIds - the collectionIds
      Returns:
      the ListFieldsOptions builder