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

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

    Fields
    Modifier and Type
    Field
    Description
    static final Tier
    Static value Basic for Tier.
    static final Tier
    Static value Premium for Tier.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static Tier
    Creates or finds a Tier from its string representation.
    Gets known Tier 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

    • BASIC

      public static final Tier BASIC
      Static value Basic for Tier.
    • PREMIUM

      public static final Tier PREMIUM
      Static value Premium for Tier.
  • Constructor Details

  • Method Details

    • fromString

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

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