Class StreamFilter

java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.StreamFilter

public class StreamFilter extends Object
A single stream subscription filter expression (spec schema StreamFilter, an anyOf of StreamFilterSimpleExpression and StreamFilterOrFilter). Either the simple expression fields (property, operator, values) or the or list of simple expressions is populated.
  • Constructor Details

    • StreamFilter

      public StreamFilter(String property, String operator, List<String> values)
      Creates a simple filter expression.
      Parameters:
      property - the field to filter on, e.g. /type
      operator - the filter operator (=, in, LIKE, ILIKE)
      values - the values to match
  • Method Details

    • anyOf

      public static StreamFilter anyOf(List<StreamFilter> or)
      Creates an or-filter over the given simple expressions.
      Parameters:
      or - the simple expressions to combine (max 3)
      Returns:
      the or-filter