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

public final class StretchMode extends com.azure.core.util.ExpandableStringEnum<StretchMode>
The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize.
  • Field Details

    • NONE

      public static final StretchMode NONE
      Static value None for StretchMode.
    • AUTO_SIZE

      public static final StretchMode AUTO_SIZE
      Static value AutoSize for StretchMode.
    • AUTO_FIT

      public static final StretchMode AUTO_FIT
      Static value AutoFit for StretchMode.
  • Constructor Details

    • StretchMode

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

    • fromString

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

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