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 Summary
-
Method Summary
Modifier and Type Method Description ListFieldsOptions.Builder
addCollectionIds(String collectionIds)
Adds an collectionIds to collectionIds.ListFieldsOptions
build()
Builds a ListFieldsOptions.ListFieldsOptions.Builder
collectionIds(List<String> collectionIds)
Set the collectionIds.ListFieldsOptions.Builder
environmentId(String environmentId)
Set the environmentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcollectionIds
- the collectionIds
-
-
Method Details
-
build
Builds a ListFieldsOptions.- Returns:
- the new ListFieldsOptions instance
-
addCollectionIds
Adds an collectionIds to collectionIds.- Parameters:
collectionIds
- the new collectionIds- Returns:
- the ListFieldsOptions builder
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the ListFieldsOptions builder
-
collectionIds
Set the collectionIds. Existing collectionIds will be replaced.- Parameters:
collectionIds
- the collectionIds- Returns:
- the ListFieldsOptions builder
-