Class RouteAggregationRulesImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RouteAggregationRulesImpl
- All Implemented Interfaces:
RouteAggregationRules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBulk(String routeAggregationId, List<RouteAggregationRuleCreatorJson> routeAggregationRuleCreatorJsonList) Creates multiple route aggregation rules under a route aggregation in a single request.Begins the fluent builder for creating a new route aggregation rule.Retrieves a single route aggregation rule by its unique identifier.Retrieves a single change applied to a route aggregation rule by its change identifier.getChanges(String routeAggregationId, String uuid) Retrieves the change history for a route aggregation rule.Lists all rules belonging to the specified route aggregation.replace(String routeAggregationId, String uuid, RouteAggregationRuleCreatorJson routeAggregationRuleCreatorJson) Replaces an existing route aggregation rule's configuration in full.search(String routeAggregationId, FilterPropertyList filter, SortPropertyList sort) Searches the rules belonging to a route aggregation using the given filter and sort criteria.
-
Constructor Details
-
RouteAggregationRulesImpl
public RouteAggregationRulesImpl()
-
-
Method Details
-
list
Description copied from interface:RouteAggregationRulesLists all rules belonging to the specified route aggregation.- Specified by:
listin interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregation- Returns:
- a paginated list of route aggregation rules
-
getByUuid
Description copied from interface:RouteAggregationRulesRetrieves a single route aggregation rule by its unique identifier.- Specified by:
getByUuidin interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationuuid- the unique identifier of the route aggregation rule- Returns:
- the route aggregation rule matching the given UUID
-
define
Description copied from interface:RouteAggregationRulesBegins the fluent builder for creating a new route aggregation rule. Call methods on the returned builder to configure the rule, then callcreate().- Specified by:
definein interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregation- Returns:
- a builder for configuring the new route aggregation rule
-
replace
public RouteAggregationRule replace(String routeAggregationId, String uuid, RouteAggregationRuleCreatorJson routeAggregationRuleCreatorJson) Description copied from interface:RouteAggregationRulesReplaces an existing route aggregation rule's configuration in full.- Specified by:
replacein interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationuuid- the unique identifier of the route aggregation rule to replacerouteAggregationRuleCreatorJson- the new rule configuration- Returns:
- the replaced route aggregation rule
-
createBulk
public List<RouteAggregationRule> createBulk(String routeAggregationId, List<RouteAggregationRuleCreatorJson> routeAggregationRuleCreatorJsonList) Description copied from interface:RouteAggregationRulesCreates multiple route aggregation rules under a route aggregation in a single request.- Specified by:
createBulkin interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationrouteAggregationRuleCreatorJsonList- the rule configurations to create- Returns:
- the list of created route aggregation rules
-
search
public PaginatedFilteredList<RouteAggregationRule> search(String routeAggregationId, FilterPropertyList filter, SortPropertyList sort) Description copied from interface:RouteAggregationRulesSearches the rules belonging to a route aggregation using the given filter and sort criteria.- Specified by:
searchin interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationfilter- the filter criteria to applysort- the sort criteria to apply- Returns:
- a paginated, filtered list of matching route aggregation rules
-
getChanges
Description copied from interface:RouteAggregationRulesRetrieves the change history for a route aggregation rule.- Specified by:
getChangesin interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationuuid- the unique identifier of the route aggregation rule- Returns:
- the list of changes applied to the route aggregation rule
-
getChange
Description copied from interface:RouteAggregationRulesRetrieves a single change applied to a route aggregation rule by its change identifier.- Specified by:
getChangein interfaceRouteAggregationRules- Parameters:
routeAggregationId- the unique identifier of the parent route aggregationuuid- the unique identifier of the route aggregation rulechangeId- the unique identifier of the change- Returns:
- the matching change
-