Class CreateEnrichment
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.CreateEnrichment
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateEnrichment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about a specific enrichment.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateEnrichment.Builder
Builder.static interface
CreateEnrichment.Type
The type of this enrichment. -
Method Summary
Modifier and Type Method Description String
description()
Gets the description.String
name()
Gets the name.CreateEnrichment.Builder
newBuilder()
New builder.EnrichmentOptions
options()
Gets the options.String
type()
Gets the type.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateEnrichment builder
-
name
Gets the name.The human readable name for this enrichment.
- Returns:
- the name
-
description
Gets the description.The description of this enrichment.
- Returns:
- the description
-
type
Gets the type.The type of this enrichment.
- Returns:
- the type
-
options
Gets the options.An object that contains options for the current enrichment. Starting with version `2020-08-30`, the enrichment options are not included in responses from the List Enrichments method.
- Returns:
- the options
-