Class AllocationMethod


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

      • DYNAMIC

        public static final AllocationMethod DYNAMIC
        Static value Dynamic for AllocationMethod.
      • STATIC

        public static final AllocationMethod STATIC
        Static value Static for AllocationMethod.
    • Constructor Detail

      • AllocationMethod

        public AllocationMethod()
    • Method Detail

      • fromString

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

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