Partager via


FeatureFlagFilter Class

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

public final class 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

Constructor Description
FeatureFlagFilter(String name)

The constructor for a feature flag configuration setting.

Method Summary

Modifier and Type Method and Description
FeatureFlagFilter addParameter(String key, Object value)

Add a parameter to the list of parameters.

String getName()

Get the name of this filter.

Map<String,Object> getParameters()

Get the parameters of this filter.

FeatureFlagFilter setParameters(Map<String,Object> parameters)

Set the parameters of this filter.

Methods inherited from java.lang.Object

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

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.

getName

public String getName()

Get the name of this filter.

Returns:

the name of this filter

getParameters

public Map getParameters()

Get the parameters of this filter.

Returns:

the parameters of this filter.

setParameters

public FeatureFlagFilter setParameters(Map 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.

Applies to