Enum Class Term

java.lang.Object
java.lang.Enum<Term>
com.eqixiac.equinix.design.value.ratecard.Term
All Implemented Interfaces:
Serializable, Comparable<Term>, Constable

public enum Term extends Enum<Term>
Commitment term for a priced resource. Equinix and cloud-provider pricing both vary by term length - longer commitments typically reduce the monthly recurring charge - so the term is an input to every rate-card lookup and a driver of savings calculations.
  • Enum Constant Details

    • MONTH_1

      public static final Term MONTH_1
      Month-to-month - no commitment; typically the highest monthly rate.
    • MONTH_12

      public static final Term MONTH_12
      12-month commitment - the default term across the value-realization builders.
    • MONTH_24

      public static final Term MONTH_24
      24-month commitment.
    • MONTH_36

      public static final Term MONTH_36
      36-month commitment - typically the lowest monthly rate.
  • Method Details

    • values

      public static Term[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Term valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • months

      public int months()
      The commitment length in months. This is the multiplier PriceQuote.totalOverTerm(Term) applies to the monthly-recurring charge (MRC × months() + NRC), and the value term-aware rate cards compare against a price row's own term length.
      Returns:
      the number of months in this commitment term