Package com.sap.ai.sdk.orchestration

# Interface TemplateConfig.ReferenceBuilder

Enclosing class:
  `TemplateConfig`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TemplateConfig.ReferenceBuilder
Intermediate object to build a template reference.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default OrchestrationTemplateReference`
  `byId(String id)`
  Build a template reference with the given id for tenant scope.
  `TemplateConfig.ReferenceBuilder1`
  `byScenario(String scenario)`
  Build a template reference with the given scenario, name, and version.

- ## Method Details

  - ### byId

    @Nonnull default OrchestrationTemplateReference byId(@Nonnull String id)
    Build a template reference with the given id for tenant scope.
    Parameters:
      `id` - The id of the template.
    Returns:
      A template reference with the given id.

  - ### byScenario

    @Nonnull TemplateConfig.ReferenceBuilder1 byScenario(@Nonnull String scenario)
    Build a template reference with the given scenario, name, and version.
    Parameters:
      `scenario` - The scenario of the template.
    Returns:
      An intermediate object to build the template reference.