public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CreateCollectionOptions.BuilderBuilder. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | description()Gets the description. | 
| List<CollectionEnrichment> | enrichments()Gets the enrichments. | 
| String | language()Gets the language. | 
| String | name()Gets the name. | 
| CreateCollectionOptions.Builder | newBuilder()New builder. | 
| String | projectId()Gets the projectId. | 
public CreateCollectionOptions.Builder newBuilder()
public String projectId()
The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String name()
The name of the collection.
public String description()
A description of the collection.
public String language()
The language of the collection. For a list of supported languages, see the [product documentation](/docs/discovery-data?topic=discovery-data-language-support).
public List<CollectionEnrichment> enrichments()
An array of enrichments that are applied to this collection. To get a list of enrichments that are available for a project, use the [List enrichments](#listenrichments) method.
If no enrichments are specified when the collection is created, the default enrichments for the project type are applied. For more information about project default settings, see the [product documentation](/docs/discovery-data?topic=discovery-data-project-defaults).
Copyright © 2023 IBM Cloud. All rights reserved.