Enum Class BandwidthStrategy

java.lang.Object
java.lang.Enum<BandwidthStrategy>
com.eqixiac.equinix.design.optimizer.wizard.enums.BandwidthStrategy
All Implemented Interfaces:
Serializable, Comparable<BandwidthStrategy>, Constable

public enum BandwidthStrategy extends Enum<BandwidthStrategy>
Determines how the Deployment Wizard sizes bandwidth for provider connections. Selected via DeploymentWizard.Builder.bandwidthStrategy(BandwidthStrategy) (or implied by customBandwidthMap(...), which switches the strategy to CUSTOM). Whatever the strategy, the derivation is recorded on each connection's BandwidthAllocation and the requirement may still be rounded up to the selected service profile's nearest billable tier (surfaced on ProfileSelection, never silent).
  • Enum Constant Details

    • PER_WORKLOAD

      public static final BandwidthStrategy PER_WORKLOAD
      Each provider connection is sized to the sum of the bandwidths of the workloads that depend on that provider at that metro. Most accurate sizing for pricing. The default.
    • AGGREGATED

      public static final BandwidthStrategy AGGREGATED
      Every provider connection at a metro is sized to the total bandwidth of all workloads placed at that metro, regardless of which provider each workload depends on. Simpler, but over-provisions (and over-prices) any provider only a subset of workloads uses.
    • CUSTOM

      public static final BandwidthStrategy CUSTOM
      The caller supplies explicit bandwidths via DeploymentWizard.Builder.customBandwidthMap(Map). Values are Mbps; keys are matched per (metro, provider), most specific first: "<metroId>-<providerLabel>" (that provider in that metro, e.g. "DC-Amazon Web Services") then "<providerLabel>" (that provider in every metro). Keys are never connection names. A (metro, provider) pair with no matching key — and the strategy as a whole when no map was supplied — falls back to PER_WORKLOAD-style aggregation of dependent workloads, not a fabricated flat default; the fallback is stated in the connection's BandwidthAllocation reasoning.
  • Method Details

    • values

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