public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateCollectionOptions.Builder
Builder.
|
static interface |
CreateCollectionOptions.Language
The language of the documents stored in the collection, in the form of an ISO 639-1 language
code.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
configurationId |
protected java.lang.String |
description |
protected java.lang.String |
environmentId |
protected java.lang.String |
language |
protected java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
CreateCollectionOptions(CreateCollectionOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
configurationId()
Gets the configurationId.
|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
java.lang.String |
language()
Gets the language.
|
java.lang.String |
name()
Gets the name.
|
CreateCollectionOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String environmentId
protected java.lang.String name
protected java.lang.String description
protected java.lang.String configurationId
protected java.lang.String language
protected CreateCollectionOptions(CreateCollectionOptions.Builder builder)
public CreateCollectionOptions.Builder newBuilder()
public java.lang.String environmentId()
The ID of the environment.
public java.lang.String name()
The name of the collection to be created.
public java.lang.String description()
A description of the collection.
public java.lang.String configurationId()
The ID of the configuration in which the collection is to be created.
public java.lang.String language()
The language of the documents stored in the collection, in the form of an ISO 639-1 language code.