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. Syntax reference: https://aka.ms/azconfig/docs/restapisnapshots.
-
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.getTags()Get the tags property: Filters key-values by their tags field.Set the label property: FiltersConfigurationSettingby their label field.Set the tags property: Filters key-values by their tags field.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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.
-
getTags
Get the tags property: Filters key-values by their tags field.- Returns:
- the tags value.
-
setTags
Set the tags property: Filters key-values by their tags field.- Parameters:
tags- the tags 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.
-