Interface ContextualMetadataConfig.Builder

  • Method Details

    • summaryGeneration

      ContextualMetadataConfig.Builder summaryGeneration(String summaryGeneration)

      Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of extendedAnalysis.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications.

      • DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields.

      Parameters:
      summaryGeneration - Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of extendedAnalysis.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications.

      • DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summaryGeneration

      ContextualMetadataConfig.Builder summaryGeneration(SummaryGenerationMode summaryGeneration)

      Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of extendedAnalysis.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications.

      • DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields.

      Parameters:
      summaryGeneration - Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of extendedAnalysis.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications.

      • DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • extendedAnalysis

      ContextualMetadataConfig.Builder extendedAnalysis(String extendedAnalysis)

      Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of summaryGeneration.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields.

      • DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields.

      If you specify customQuestions, you must set this property to DISABLED.

      Parameters:
      extendedAnalysis - Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of summaryGeneration.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields.

      • DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields.

      If you specify customQuestions, you must set this property to DISABLED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • extendedAnalysis

      ContextualMetadataConfig.Builder extendedAnalysis(ExtendedAnalysisMode extendedAnalysis)

      Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of summaryGeneration.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields.

      • DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields.

      If you specify customQuestions, you must set this property to DISABLED.

      Parameters:
      extendedAnalysis - Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of summaryGeneration.

      Valid values:

      • ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields.

      • DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields.

      If you specify customQuestions, you must set this property to DISABLED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customQuestions

      ContextualMetadataConfig.Builder customQuestions(CustomQuestionsConfig customQuestions)

      The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.

      If you specify customQuestions, you must also set extendedAnalysis to DISABLED. If you omit extendedAnalysis, it defaults to ENABLED, and the request fails.

      While a feed references a version of a question set, you can't delete that version or the question set.

      Parameters:
      customQuestions - The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.

      If you specify customQuestions, you must also set extendedAnalysis to DISABLED. If you omit extendedAnalysis, it defaults to ENABLED, and the request fails.

      While a feed references a version of a question set, you can't delete that version or the question set.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customQuestions

      default ContextualMetadataConfig.Builder customQuestions(Consumer<CustomQuestionsConfig.Builder> customQuestions)

      The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.

      If you specify customQuestions, you must also set extendedAnalysis to DISABLED. If you omit extendedAnalysis, it defaults to ENABLED, and the request fails.

      While a feed references a version of a question set, you can't delete that version or the question set.

      This is a convenience method that creates an instance of the CustomQuestionsConfig.Builder avoiding the need to create one manually via CustomQuestionsConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customQuestions(CustomQuestionsConfig).

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