java.lang.Object
com.azure.core.util.ExpandableStringEnum<Size>
com.azure.resourcemanager.peering.models.Size
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Size extends com.azure.core.util.ExpandableStringEnum<Size>
The size of the peering SKU.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Size
    Static value Free for Size.
    static final Size
    Static value Metered for Size.
    static final Size
    Static value Unlimited for Size.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Size
    Creates or finds a Size from its string representation.
    Gets known Size values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • FREE

      public static final Size FREE
      Static value Free for Size.
    • METERED

      public static final Size METERED
      Static value Metered for Size.
    • UNLIMITED

      public static final Size UNLIMITED
      Static value Unlimited for Size.
  • Constructor Details

  • Method Details

    • fromString

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

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