Interface InferenceSettings.Builder

  • Method Details

    • feedArn

      The ARN of the feed resource that is associated with this channel. The feed is a resource in the Elemental Inference service.
      Parameters:
      feedArn - The ARN of the feed resource that is associated with this channel. The feed is a resource in the Elemental Inference service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioFeedInputs

      InferenceSettings.Builder audioFeedInputs(Collection<AudioFeedInput> audioFeedInputs)
      A list of audio feed inputs that map audio selectors in the channel to feed inputs on the associated Elemental Inference feed.
      Parameters:
      audioFeedInputs - A list of audio feed inputs that map audio selectors in the channel to feed inputs on the associated Elemental Inference feed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioFeedInputs

      InferenceSettings.Builder audioFeedInputs(AudioFeedInput... audioFeedInputs)
      A list of audio feed inputs that map audio selectors in the channel to feed inputs on the associated Elemental Inference feed.
      Parameters:
      audioFeedInputs - A list of audio feed inputs that map audio selectors in the channel to feed inputs on the associated Elemental Inference feed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioFeedInputs

      InferenceSettings.Builder audioFeedInputs(Consumer<AudioFeedInput.Builder>... audioFeedInputs)
      A list of audio feed inputs that map audio selectors in the channel to feed inputs on the associated Elemental Inference feed. This is a convenience method that creates an instance of the AudioFeedInput.Builder avoiding the need to create one manually via AudioFeedInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to audioFeedInputs(List<AudioFeedInput>).

      Parameters:
      audioFeedInputs - a consumer that will call methods on AudioFeedInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enrichmentMethodsWithStrings

      InferenceSettings.Builder enrichmentMethodsWithStrings(Collection<String> enrichmentMethods)
      The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Parameters:
      enrichmentMethods - The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enrichmentMethodsWithStrings

      InferenceSettings.Builder enrichmentMethodsWithStrings(String... enrichmentMethods)
      The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Parameters:
      enrichmentMethods - The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enrichmentMethods

      InferenceSettings.Builder enrichmentMethods(Collection<EnrichmentMethod> enrichmentMethods)
      The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Parameters:
      enrichmentMethods - The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enrichmentMethods

      InferenceSettings.Builder enrichmentMethods(EnrichmentMethod... enrichmentMethods)
      The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Parameters:
      enrichmentMethods - The set of Contextual Metadata Enrichment methods enabled for this channel. Each method represents a specific way the channel will use the inference feed to augment its output with contextual metadata. An empty array (or omitting the field) disables enrichment. Order is not significant; duplicate values are not permitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.