public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateCollectionOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.util.List<CollectionEnrichment> |
enrichments |
protected java.lang.String |
language |
protected java.lang.String |
name |
protected java.lang.String |
projectId |
Modifier | Constructor and Description |
---|---|
protected |
CreateCollectionOptions(CreateCollectionOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.util.List<CollectionEnrichment> |
enrichments()
Gets the enrichments.
|
java.lang.String |
language()
Gets the language.
|
java.lang.String |
name()
Gets the name.
|
CreateCollectionOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
projectId()
Gets the projectId.
|
protected java.lang.String projectId
protected java.lang.String name
protected java.lang.String description
protected java.lang.String language
protected java.util.List<CollectionEnrichment> enrichments
protected CreateCollectionOptions(CreateCollectionOptions.Builder builder)
public CreateCollectionOptions.Builder newBuilder()
public java.lang.String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
public java.lang.String name()
The name of the collection.
public java.lang.String description()
A description of the collection.
public java.lang.String language()
The language of the collection.
public java.util.List<CollectionEnrichment> enrichments()
An array of enrichments that are applied to this collection.