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
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).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery 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.The caller supplies explicit bandwidths viaDeploymentWizard.Builder.customBandwidthMap(Map).Each provider connection is sized to the sum of the bandwidths of the workloads that depend on that provider at that metro. -
Method Summary
Modifier and TypeMethodDescriptionstatic BandwidthStrategyReturns the enum constant of this class with the specified name.static BandwidthStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
The caller supplies explicit bandwidths viaDeploymentWizard.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 toPER_WORKLOAD-style aggregation of dependent workloads, not a fabricated flat default; the fallback is stated in the connection'sBandwidthAllocationreasoning.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-