Package com.sap.ai.sdk.orchestration

# Interface TranslationConfig

All Known Implementing Classes:
  `TranslationConfig.Input`, `TranslationConfig.Output`

public interface TranslationConfig
Configuration helper for SAP Document Translation.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final class`
  `TranslationConfig.Input`
  Input configuration for translation.
  `static final class`
  `TranslationConfig.Output`
  Output configuration for translation.
  `static enum`
  `TranslationConfig.TemplateRole`
  Supported values for `items[]` when `category=template_roles`.

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static TranslationConfig.Input`
  `translateInputTo(String targetLanguage)`
  Create a new input translation configuration.
  `static TranslationConfig.Output`
  `translateOutputTo(String targetLanguage)`
  Create a new output translation configuration.

- ## Method Details

  - ### translateInputTo

    @Nonnull static TranslationConfig.Input translateInputTo(@Nonnull String targetLanguage)
    Create a new input translation configuration.
    Parameters:
      `targetLanguage` - The target language code

  - ### translateOutputTo

    @Nonnull static TranslationConfig.Output translateOutputTo(@Nonnull String targetLanguage)
    Create a new output translation configuration.
    Parameters:
      `targetLanguage` - The target language code