Class FeatureFlagFilter

java.lang.Object
com.azure.data.appconfiguration.models.FeatureFlagFilter

public final class FeatureFlagFilter extends Object
Filters in FeatureFlagConfigurationSetting that can be returned from GET queries. A filter is a rule for evaluating the state of a feature flag.
  • Constructor Details

    • FeatureFlagFilter

      public FeatureFlagFilter(String name)
      The constructor for a feature flag configuration setting.
      Parameters:
      name - the name of this feature flag filter.
  • Method Details

    • getName

      public String getName()
      Get the name of this filter.
      Returns:
      the name of this filter
    • addParameter

      public FeatureFlagFilter addParameter(String key, Object value)
      Add a parameter to the list of parameters.
      Parameters:
      key - A key of the parameter.
      value - A value of the parameter.
      Returns:
      The updated FeatureFlagFilter object.
    • getParameters

      public Map<String,Object> getParameters()
      Get the parameters of this filter.
      Returns:
      the parameters of this filter.
    • setParameters

      public FeatureFlagFilter setParameters(Map<String,Object> parameters)
      Set the parameters of this filter.
      Parameters:
      parameters - the parameters of this filter. It is a key-value pair parameters.
      Returns:
      The updated FeatureFlagFilter object.