Class PricingCurrencyDuration

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PricingCurrencyDuration>
com.azure.resourcemanager.billingbenefits.models.PricingCurrencyDuration

public final class PricingCurrencyDuration extends com.azure.core.util.ExpandableStringEnum<PricingCurrencyDuration>
Represents either billing plan or savings plan term in ISO 8601 format.
  • Field Details

  • Constructor Details

    • PricingCurrencyDuration

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

    • fromString

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

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