ConfigurationSettingsFilter Class

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

Implements

public final class ConfigurationSettingsFilter
implements JsonSerializable<ConfigurationSettingsFilter>

Enables filtering of key-values.

Constructor Summary

Constructor Description
ConfigurationSettingsFilter(String key)

Creates an instance of ConfigurationSettingsFilter class.

Method Summary

Modifier and Type Method and Description
static ConfigurationSettingsFilter fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationSettingsFilter from the JsonReader.

String getKey()

Get the key property: Filters ConfigurationSetting by their key field.

String getLabel()

Get the label property: Filters ConfigurationSetting by their label field.

ConfigurationSettingsFilter setLabel(String label)

Set the label property: Filters ConfigurationSetting by their label field.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ConfigurationSettingsFilter

public ConfigurationSettingsFilter(String key)

Creates an instance of ConfigurationSettingsFilter class.

Parameters:

key - the key value to set.

Method Details

fromJson

public static ConfigurationSettingsFilter fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationSettingsFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConfigurationSettingsFilter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getKey

public String getKey()

Get the key property: Filters ConfigurationSetting by their key field.

Returns:

the key value.

getLabel

public String getLabel()

Get the label property: Filters ConfigurationSetting by their label field.

Returns:

the label value.

setLabel

public ConfigurationSettingsFilter setLabel(String label)

Set the label property: Filters ConfigurationSetting by their label field.

Parameters:

label - the label value to set.

Returns:

the ConfigurationSettingsFilter object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to