Class FeatureFlagFilter
java.lang.Object
com.azure.data.appconfiguration.models.FeatureFlagFilter
Filters in
FeatureFlagConfigurationSetting
that can be returned from GET queries. A filter is a rule
for evaluating the state of a feature flag.-
Constructor Summary
ConstructorDescriptionFeatureFlagFilter
(String name) The constructor for a feature flag configuration setting. -
Method Summary
Modifier and TypeMethodDescriptionaddParameter
(String key, Object value) Add a parameter to the list of parameters.getName()
Get the name of this filter.Get the parameters of this filter.setParameters
(Map<String, Object> parameters) Set the parameters of this filter.
-
Constructor Details
-
FeatureFlagFilter
The constructor for a feature flag configuration setting.- Parameters:
name
- the name of this feature flag filter.
-
-
Method Details
-
getName
Get the name of this filter.- Returns:
- the name of this filter
-
addParameter
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
Get the parameters of this filter.- Returns:
- the parameters of this filter.
-
setParameters
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.
-