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