Class ListCollectionsOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.ListCollectionsOptions.Builder
- Enclosing class:
- ListCollectionsOptions
public static class ListCollectionsOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ListCollectionsOptions
build()
Builds a ListCollectionsOptions.ListCollectionsOptions.Builder
environmentId(String environmentId)
Set the environmentId.ListCollectionsOptions.Builder
name(String name)
Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentId
-
-
Method Details
-
build
Builds a ListCollectionsOptions.- Returns:
- the new ListCollectionsOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the ListCollectionsOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the ListCollectionsOptions builder
-