Class ContextualMetadataConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContextualMetadataConfig.Builder,ContextualMetadataConfig>
The output configuration settings for the contextual metadata feature. Use this structure when the feed output generates metadata that describes the media content.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExtendedAnalysisModeSpecifies whether Elemental Inference generates extended analysis of the media content for this output.final StringSpecifies whether Elemental Inference generates extended analysis of the media content for this output.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ContextualMetadataConfig.Builder> final SummaryGenerationModeSpecifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects.final StringSpecifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
If the service returns an enum value that is not available in the current SDK version,
summaryGenerationwill returnSummaryGenerationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsummaryGenerationAsString().- Returns:
- 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.
-
- See Also:
-
-
summaryGenerationAsString
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.
If the service returns an enum value that is not available in the current SDK version,
summaryGenerationwill returnSummaryGenerationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsummaryGenerationAsString().- Returns:
- 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.
-
- 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 the service returns an enum value that is not available in the current SDK version,
extendedAnalysiswill returnExtendedAnalysisMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromextendedAnalysisAsString().- Returns:
- 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.
-
- See Also:
-
-
extendedAnalysisAsString
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 the service returns an enum value that is not available in the current SDK version,
extendedAnalysiswill returnExtendedAnalysisMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromextendedAnalysisAsString().- Returns:
- 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.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ContextualMetadataConfig.Builder,ContextualMetadataConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-