Class EstateThresholds.Builder
java.lang.Object
com.eqixiac.equinix.design.estate.EstateThresholds.Builder
- Enclosing class:
EstateThresholds
Builds thresholds, starting from the defaults.
-
Method Summary
Modifier and TypeMethodDescriptionbandwidthTiersMbps(List<Integer> tiersMbps) Sets the bandwidth tiers.build()Builds the thresholds.candidateTerms(List<Term> candidateTerms) Sets the terms to price.consolidateMinConnections(int count) Sets the fewest connections that suggest a Cloud Router.headroomFactor(double factor) Sets the headroom factor.minAgeForTermDays(int days) Sets the minimum age before a term is recommended.minUtilizationSamples(int samples) Sets the fewest samples a utilisation rule acts on.portCapacity(double warnPercent, double criticalPercent) Sets the port capacity thresholds.priceRanges(double referencePercent, double estimatePercent) Sets the ± price ranges.rightSize(double downBelowPercent, double upAbovePercent) Sets the right-size thresholds.routerLimitWarnPercent(double percent) Sets the router limit warning percent.routerPackageConnectionLimits(Map<String, Integer> limits) Supplies router package connection limits (for example from your contract or the Equinix documentation).stuckAfterDays(int days) Sets the age after which a pending or failed state is stuck.
-
Method Details
-
rightSize
Sets the right-size thresholds.- Parameters:
downBelowPercent- p95 percent below which to size downupAbovePercent- p95 percent above which to size up- Returns:
- this builder
-
headroomFactor
Sets the headroom factor.- Parameters:
factor- the factor (at least 1.0)- Returns:
- this builder
-
minUtilizationSamples
Sets the fewest samples a utilisation rule acts on.- Parameters:
samples- the count- Returns:
- this builder
-
bandwidthTiersMbps
Sets the bandwidth tiers.- Parameters:
tiersMbps- the tiers in Mbps- Returns:
- this builder
-
minAgeForTermDays
Sets the minimum age before a term is recommended.- Parameters:
days- the age in days- Returns:
- this builder
-
candidateTerms
Sets the terms to price.- Parameters:
candidateTerms- the terms- Returns:
- this builder
-
consolidateMinConnections
Sets the fewest connections that suggest a Cloud Router.- Parameters:
count- the count- Returns:
- this builder
-
portCapacity
Sets the port capacity thresholds.- Parameters:
warnPercent- the warning percentcriticalPercent- the critical percent- Returns:
- this builder
-
routerLimitWarnPercent
Sets the router limit warning percent.- Parameters:
percent- the percent- Returns:
- this builder
-
routerPackageConnectionLimits
Supplies router package connection limits (for example from your contract or the Equinix documentation).- Parameters:
limits- package code to limit- Returns:
- this builder
-
stuckAfterDays
Sets the age after which a pending or failed state is stuck.- Parameters:
days- the age in days- Returns:
- this builder
-
priceRanges
Sets the ± price ranges.- Parameters:
referencePercent- for reference pricesestimatePercent- for estimates- Returns:
- this builder
-
build
-