Class RouteFilterRulesImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RouteFilterRulesImpl
- All Implemented Interfaces:
RouteFilterRules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBulk(String routeFilterId, List<RouteFilterRuleCreatorJson> routeFilterRuleCreatorJsonList) Creates multiple route filter rules under a route filter in a single request.Begins the fluent builder for creating a new route filter rule.Retrieves a single route filter rule by its unique identifier.Retrieves a single change applied to a route filter rule by its change identifier.getChanges(String routeFilterId, String uuid) Retrieves the change history for a route filter rule.Lists all rules belonging to the specified route filter.replace(String routeFilterId, String uuid, RouteFilterRuleCreatorJson routeFilterRuleCreatorJson) Replaces an existing route filter rule's configuration in full.search(String routeFilterId, FilterPropertyList filter, SortPropertyList sort) Searches the rules belonging to a route filter using the given filter and sort criteria.
-
Constructor Details
-
RouteFilterRulesImpl
public RouteFilterRulesImpl()
-
-
Method Details
-
list
Description copied from interface:RouteFilterRulesLists all rules belonging to the specified route filter.- Specified by:
listin interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filter- Returns:
- a paginated list of route filter rules
-
getByUuid
Description copied from interface:RouteFilterRulesRetrieves a single route filter rule by its unique identifier.- Specified by:
getByUuidin interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule- Returns:
- the route filter rule matching the given UUID
-
define
Description copied from interface:RouteFilterRulesBegins the fluent builder for creating a new route filter rule. Call methods on the returned builder to configure the rule, then callcreate().- Specified by:
definein interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filter- Returns:
- a builder for configuring the new route filter rule
-
replace
public RouteFilterRule replace(String routeFilterId, String uuid, RouteFilterRuleCreatorJson routeFilterRuleCreatorJson) Description copied from interface:RouteFilterRulesReplaces an existing route filter rule's configuration in full.- Specified by:
replacein interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule to replacerouteFilterRuleCreatorJson- the new rule configuration- Returns:
- the replaced route filter rule
-
createBulk
public List<RouteFilterRule> createBulk(String routeFilterId, List<RouteFilterRuleCreatorJson> routeFilterRuleCreatorJsonList) Description copied from interface:RouteFilterRulesCreates multiple route filter rules under a route filter in a single request.- Specified by:
createBulkin interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filterrouteFilterRuleCreatorJsonList- the rule configurations to create- Returns:
- the list of created route filter rules
-
search
public PaginatedFilteredList<RouteFilterRule> search(String routeFilterId, FilterPropertyList filter, SortPropertyList sort) Description copied from interface:RouteFilterRulesSearches the rules belonging to a route filter using the given filter and sort criteria.- Specified by:
searchin interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filterfilter- the filter criteria to applysort- the sort criteria to apply- Returns:
- a paginated, filtered list of matching route filter rules
-
getChanges
Description copied from interface:RouteFilterRulesRetrieves the change history for a route filter rule.- Specified by:
getChangesin interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule- Returns:
- the list of changes applied to the route filter rule
-
getChange
Description copied from interface:RouteFilterRulesRetrieves a single change applied to a route filter rule by its change identifier.- Specified by:
getChangein interfaceRouteFilterRules- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rulechangeId- the unique identifier of the change- Returns:
- the matching change
-