Class RouteAggregationRulesImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.RouteAggregationRulesImpl
All Implemented Interfaces:
RouteAggregationRules

public class RouteAggregationRulesImpl extends Object implements RouteAggregationRules
  • Constructor Details

    • RouteAggregationRulesImpl

      public RouteAggregationRulesImpl()
  • Method Details

    • list

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

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

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

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

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

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