Class EstateInventory.Builder
java.lang.Object
com.eqixiac.equinix.design.estate.EstateInventory.Builder
- Enclosing class:
EstateInventory
Builds an inventory by hand.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the inventory.Adds a connection.Adds a Network Edge device.Records a coverage gap.Adds a network.Adds a port.Adds a Cloud Router.routerPackageLimit(String packageCode, int maxConnections) Records a router package connection limit.Adds a service token.Sets the source label.Sets the collection stats.
-
Method Details
-
source
Sets the source label.- Parameters:
source- the label- Returns:
- this builder
-
port
Adds a port.- Parameters:
p- the port- Returns:
- this builder
-
connection
Adds a connection.- Parameters:
c- the connection- Returns:
- this builder
-
router
Adds a Cloud Router.- Parameters:
r- the router- Returns:
- this builder
-
network
Adds a network.- Parameters:
n- the network- Returns:
- this builder
-
serviceToken
Adds a service token.- Parameters:
t- the token- Returns:
- this builder
-
device
Adds a Network Edge device.- Parameters:
d- the device- Returns:
- this builder
-
routerPackageLimit
Records a router package connection limit.- Parameters:
packageCode- the package codemaxConnections- the limit- Returns:
- this builder
-
gap
Records a coverage gap.- Parameters:
gap- the gap- Returns:
- this builder
-
stats
Sets the collection stats.- Parameters:
stats- the stats- Returns:
- this builder
-
build
-