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 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
projectId(String projectId)
Set the projectId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
projectId
- the projectId
-
-
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
-
projectId
Set the projectId.- Parameters:
projectId
- the projectId- Returns:
- the ListFieldsOptions builder
-
collectionIds
Set the collectionIds. Existing collectionIds will be replaced.- Parameters:
collectionIds
- the collectionIds- Returns:
- the ListFieldsOptions builder
-