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