Class RouteFilterRulesImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RouteFilterRulesImpl
All Implemented Interfaces:
RouteFilterRules

public class RouteFilterRulesImpl extends Object implements RouteFilterRules
  • Constructor Details

    • RouteFilterRulesImpl

      public RouteFilterRulesImpl()
  • Method Details

    • list

      public PaginatedList<RouteFilterRule> list(String routeFilterId)
      Description copied from interface: RouteFilterRules
      Lists all rules belonging to the specified route filter.
      Specified by:
      list in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      Returns:
      a paginated list of route filter rules
    • getByUuid

      public RouteFilterRule getByUuid(String routeFilterId, String uuid)
      Description copied from interface: RouteFilterRules
      Retrieves a single route filter rule by its unique identifier.
      Specified by:
      getByUuid in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      uuid - the unique identifier of the route filter rule
      Returns:
      the route filter rule matching the given UUID
    • define

      Description copied from interface: RouteFilterRules
      Begins the fluent builder for creating a new route filter rule. Call methods on the returned builder to configure the rule, then call create().
      Specified by:
      define in interface RouteFilterRules
      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: RouteFilterRules
      Replaces an existing route filter rule's configuration in full.
      Specified by:
      replace in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      uuid - the unique identifier of the route filter rule to replace
      routeFilterRuleCreatorJson - the new rule configuration
      Returns:
      the replaced route filter rule
    • createBulk

      public List<RouteFilterRule> createBulk(String routeFilterId, List<RouteFilterRuleCreatorJson> routeFilterRuleCreatorJsonList)
      Description copied from interface: RouteFilterRules
      Creates multiple route filter rules under a route filter in a single request.
      Specified by:
      createBulk in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      routeFilterRuleCreatorJsonList - 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: RouteFilterRules
      Searches the rules belonging to a route filter using the given filter and sort criteria.
      Specified by:
      search in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      filter - the filter criteria to apply
      sort - the sort criteria to apply
      Returns:
      a paginated, filtered list of matching route filter rules
    • getChanges

      public List<Change> getChanges(String routeFilterId, String uuid)
      Description copied from interface: RouteFilterRules
      Retrieves the change history for a route filter rule.
      Specified by:
      getChanges in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      uuid - the unique identifier of the route filter rule
      Returns:
      the list of changes applied to the route filter rule
    • getChange

      public Change getChange(String routeFilterId, String uuid, String changeId)
      Description copied from interface: RouteFilterRules
      Retrieves a single change applied to a route filter rule by its change identifier.
      Specified by:
      getChange in interface RouteFilterRules
      Parameters:
      routeFilterId - the unique identifier of the parent route filter
      uuid - the unique identifier of the route filter rule
      changeId - the unique identifier of the change
      Returns:
      the matching change