Class MetroOptimizer.Builder

java.lang.Object
com.eqixiac.equinix.design.optimizer.MetroOptimizer.Builder
Enclosing class:
MetroOptimizer

public static final class MetroOptimizer.Builder extends Object
Fluent convenience over DesignSpec: each call adds to the spec, toSpec() returns it and optimize() runs MetroOptimizer.forSpec(FabricGateway, DesignSpec). Clouds are identified by their label (default: the provider's name, or the profile name); a workload's dependsOn refers to the same cloud, adding it as required when it was not declared.