Class ModelSize


  • public final class ModelSize
    extends com.azure.core.util.ExpandableStringEnum<ModelSize>
    Defines values for ModelSize.
    • Field Detail

      • NONE

        public static final ModelSize NONE
        Static value None for ModelSize.
      • SMALL

        public static final ModelSize SMALL
        Static value Small for ModelSize.
      • MEDIUM

        public static final ModelSize MEDIUM
        Static value Medium for ModelSize.
      • LARGE

        public static final ModelSize LARGE
        Static value Large for ModelSize.
      • EXTRA_LARGE

        public static final ModelSize EXTRA_LARGE
        Static value ExtraLarge for ModelSize.
    • Constructor Detail

      • ModelSize

        public ModelSize()
    • Method Detail

      • fromString

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

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