Class RouteAggregationOperator.RouteAggregationUpdater
java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.RouteAggregationOperator.RouteAggregationUpdater
- Enclosing class:
RouteAggregationOperator
Fluent builder for updating an existing route aggregation. Each typed setter records a
replace change operation; save() sends them as one PATCH
(an op/path/value array, content-type application/json) and returns the refreshed model.
routeAggregation.update().name("New-Name").save();-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Replaces the route aggregation description.Replaces the route aggregation name.patch(PatchOperation operation) Adds an arbitrary change operation, for paths not covered by the typed setters above.save()Applies the accumulated changes and returns the route aggregation refreshed from the server.
-
Constructor Details
-
RouteAggregationUpdater
-
-
Method Details
-
name
Replaces the route aggregation name.- Parameters:
name- the new name- Returns:
- this updater
-
description
Replaces the route aggregation description.- Parameters:
description- the new description- Returns:
- this updater
-
patch
Adds an arbitrary change operation, for paths not covered by the typed setters above.- Parameters:
operation- the patch operation- Returns:
- this updater
-
save
Applies the accumulated changes and returns the route aggregation refreshed from the server.- Returns:
- the updated
RouteAggregation
-