Interface ContextualMetadataConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContextualMetadataConfig.Builder,,ContextualMetadataConfig> SdkBuilder<ContextualMetadataConfig.Builder,,ContextualMetadataConfig> SdkPojo
- Enclosing class:
ContextualMetadataConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault ContextualMetadataConfig.BuildercustomQuestions(Consumer<CustomQuestionsConfig.Builder> customQuestions) The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.customQuestions(CustomQuestionsConfig customQuestions) The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.extendedAnalysis(String extendedAnalysis) Specifies whether Elemental Inference generates extended analysis of the media content for this output.extendedAnalysis(ExtendedAnalysisMode extendedAnalysis) Specifies whether Elemental Inference generates extended analysis of the media content for this output.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 ofextendedAnalysis.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
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 ofextendedAnalysis.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
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 ofsummaryGeneration.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
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 ofsummaryGeneration.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
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 theCustomQuestionsConfig.Builderavoiding the need to create one manually viaCustomQuestionsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomQuestions(CustomQuestionsConfig).- Parameters:
customQuestions- a consumer that will call methods onCustomQuestionsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-