Class ListFieldsOptions.Builder

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

      public ListFieldsOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      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