Class TcoComparison

java.lang.Object
com.eqixiac.equinix.design.value.tco.TcoComparison

public class TcoComparison extends Object
The result of a TcoCalculator run: a side-by-side cost comparison of the requested DeploymentArchetypes, the recommended approach - the lowest total cost over the commitment term (MRC × months + NRC), so one-time setup charges count - and the saving of the recommended approach versus the public-cloud-over-internet baseline, both per month and over the term.

A cloud-to-cloud comparison (TcoCalculator.Builder.toCloud(...)) is two-sided: every archetype prices traffic in both directions, the native multicloud archetype joins the comparison, and on-prem (whose inputs carry no cloud egress) leaves the default set and is reported unpriced when requested. getTrafficNote() states the volumes and assumptions; CostBreakdown.getProvenance() carries per-figure sources.

All figures are design-time estimates; cloud-egress and on-prem inputs are indicative reference figures while Equinix interconnect costs use live pricing where available. See getDisclaimer(). Each breakdown carries the currency its own components reconciled to (see CostBreakdown.getCurrency()), which may differ from the comparison-wide getCurrency(); savings are only computed when baseline and recommended share a currency.

  • Constructor Details

    • TcoComparison

      public TcoComparison()
  • Method Details

    • breakdown

      public Optional<CostBreakdown> breakdown(DeploymentArchetype archetype)
      The breakdown for a specific archetype.
      Parameters:
      archetype - the archetype to look up
      Returns:
      its breakdown, or empty when the archetype was not part of this comparison
    • recommendedBreakdown

      public Optional<CostBreakdown> recommendedBreakdown()
      The recommended archetype's breakdown.
      Returns:
      the breakdown of getRecommended(), or empty when nothing could be priced
    • toMarkdown

      public String toMarkdown()
      Renders a Markdown report comparing the archetypes and stating the recommendation. A cloud-to-cloud comparison adds a traffic line and, per archetype, a line-item table with the provenance of each figure, including the 730 h/month hourly-to-monthly conversion used for native multicloud link rates.
      Returns:
      a Markdown report