Enum Class PriceSource

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

public enum PriceSource extends Enum<PriceSource>
Identifies where a PriceQuote came from, so every number in a cost estimate or savings calculation is traceable to its origin and disclaimed appropriately.

Provenance matters because the SDK blends authoritative Equinix pricing (from the live Fabric Pricing API) with reference and customer-supplied figures that the SDK cannot validate. On the trust spectrum: EQUINIX_LIVE and CUSTOM are trustworthy for what they cover; PROVIDER_API is live and accurate for the cloud-provider side but is public list pricing, not a negotiated rate; and REFERENCE/ESTIMATE are indicative only. COMPOSITE inherits the trust of whatever it aggregated - consult the quote's note and the surrounding disclaimer.

  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Aggregate over mixed provenances: a RateCard.layered(...) chain reports this as its dominant source, and PriceQuote.plus(...) stamps it on a sum whose operands came from different sources.
    Caller-supplied figure (e.g. a negotiated contract rate) declared on a CustomRateCard.
    Live figure from the Equinix Fabric Pricing API - authoritative for Equinix-side costs.
    Heuristic or derived figure with no external source - the least trustworthy provenance.
    Live figure from a public cloud-provider pricing API (AWS Price List, Azure Retail Prices, GCP Billing Catalog, OCI Price List).
    Bundled, dated indicative figure from the ReferenceRateCard - an estimate, not a quote.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static PriceSource[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • EQUINIX_LIVE

      public static final PriceSource EQUINIX_LIVE
      Live figure from the Equinix Fabric Pricing API - authoritative for Equinix-side costs.
    • CUSTOM

      public static final PriceSource CUSTOM
      Caller-supplied figure (e.g. a negotiated contract rate) declared on a CustomRateCard.
    • PROVIDER_API

      public static final PriceSource PROVIDER_API
      Live figure from a public cloud-provider pricing API (AWS Price List, Azure Retail Prices, GCP Billing Catalog, OCI Price List). Accurate and current for the provider side, but a public list price - negotiated discounts are not reflected.
    • REFERENCE

      public static final PriceSource REFERENCE
      Bundled, dated indicative figure from the ReferenceRateCard - an estimate, not a quote.
    • ESTIMATE

      public static final PriceSource ESTIMATE
      Heuristic or derived figure with no external source - the least trustworthy provenance.
    • COMPOSITE

      public static final PriceSource COMPOSITE
      Aggregate over mixed provenances: a RateCard.layered(...) chain reports this as its dominant source, and PriceQuote.plus(...) stamps it on a sum whose operands came from different sources.
  • Method Details

    • values

      public static PriceSource[] 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 PriceSource 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