Class ConfigurationSettingsFilter
java.lang.Object
com.azure.data.appconfiguration.models.ConfigurationSettingsFilter
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigurationSettingsFilter>
public final class ConfigurationSettingsFilter
extends Object
implements com.azure.json.JsonSerializable<ConfigurationSettingsFilter>
Enables filtering of key-values.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigurationSettingsFilter class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationSettingsFilterfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationSettingsFilter from the JsonReader.getKey()Get the key property: FiltersConfigurationSettingby their key field.getLabel()Get the label property: FiltersConfigurationSettingby their label field.Set the label property: FiltersConfigurationSettingby their label field.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter)
-
Constructor Details
-
ConfigurationSettingsFilter
Creates an instance of ConfigurationSettingsFilter class.- Parameters:
key- the key value to set.
-
-
Method Details
-
getKey
Get the key property: FiltersConfigurationSettingby their key field.- Returns:
- the key value.
-
getLabel
Get the label property: FiltersConfigurationSettingby their label field.- Returns:
- the label value.
-
setLabel
Set the label property: FiltersConfigurationSettingby their label field.- Parameters:
label- the label value to set.- Returns:
- the ConfigurationSettingsFilter object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConfigurationSettingsFilter>- Throws:
IOException
-
fromJson
public static ConfigurationSettingsFilter fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ConfigurationSettingsFilter.
-