Class Configuration

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.Configuration
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Configuration
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A custom configuration for the environment.
  • Method Details

    • newBuilder

      public Configuration.Builder newBuilder()
      New builder.
      Returns:
      a Configuration builder
    • configurationId

      public String configurationId()
      Gets the configurationId.

      The unique identifier of the configuration.

      Returns:
      the configurationId
    • name

      public String name()
      Gets the name.

      The name of the configuration.

      Returns:
      the name
    • created

      public Date created()
      Gets the created.

      The creation date of the configuration in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.

      Returns:
      the created
    • updated

      public Date updated()
      Gets the updated.

      The timestamp of when the configuration was last updated in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.

      Returns:
      the updated
    • description

      public String description()
      Gets the description.

      The description of the configuration, if available.

      Returns:
      the description
    • conversions

      public Conversions conversions()
      Gets the conversions.

      Document conversion settings.

      Returns:
      the conversions
    • enrichments

      public List<Enrichment> enrichments()
      Gets the enrichments.

      An array of document enrichment settings for the configuration.

      Returns:
      the enrichments
    • normalizations

      public List<NormalizationOperation> normalizations()
      Gets the normalizations.

      Defines operations that can be used to transform the final output JSON into a normalized form. Operations are executed in the order that they appear in the array.

      Returns:
      the normalizations
    • source

      public Source source()
      Gets the source.

      Object containing source parameters for the configuration.

      Returns:
      the source