Class ListCollectionFieldsOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.ListCollectionFieldsOptions.Builder
- Enclosing class:
- ListCollectionFieldsOptions
public static class ListCollectionFieldsOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ListCollectionFieldsOptions
build()
Builds a ListCollectionFieldsOptions.ListCollectionFieldsOptions.Builder
collectionId(String collectionId)
Set the collectionId.ListCollectionFieldsOptions.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 environmentIdcollectionId
- the collectionId
-
-
Method Details
-
build
Builds a ListCollectionFieldsOptions.- Returns:
- the new ListCollectionFieldsOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the ListCollectionFieldsOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the ListCollectionFieldsOptions builder
-