java.lang.Object
com.azure.core.util.ExpandableStringEnum<InsightsType>
com.azure.resourcemanager.mediaservices.models.InsightsType

public final class InsightsType extends com.azure.core.util.ExpandableStringEnum<InsightsType>
Defines the type of insights that you want the service to generate. The allowed values are 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out.
  • Field Details

    • AUDIO_INSIGHTS_ONLY

      public static final InsightsType AUDIO_INSIGHTS_ONLY
      Static value AudioInsightsOnly for InsightsType.
    • VIDEO_INSIGHTS_ONLY

      public static final InsightsType VIDEO_INSIGHTS_ONLY
      Static value VideoInsightsOnly for InsightsType.
    • ALL_INSIGHTS

      public static final InsightsType ALL_INSIGHTS
      Static value AllInsights for InsightsType.
  • Constructor Details

    • InsightsType

      @Deprecated public InsightsType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of InsightsType value.
  • Method Details

    • fromString

      public static InsightsType fromString(String name)
      Creates or finds a InsightsType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding InsightsType.
    • values

      public static Collection<InsightsType> values()
      Gets known InsightsType values.
      Returns:
      known InsightsType values.