ConfigMap Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ConfigMap
- com.
Implements
public final class ConfigMap
implements JsonSerializable<ConfigMap>
The container config map.
Constructor Summary
| Constructor | Description |
|---|---|
| ConfigMap() |
Creates an instance of Config |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Config |
fromJson(JsonReader jsonReader)
Reads an instance of Config |
| Map<String,String> |
keyValuePairs()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Config |
withKeyValuePairs(Map<String,String> keyValuePairs)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
ConfigMap
public ConfigMap()
Creates an instance of ConfigMap class.
Method Details
fromJson
public static ConfigMap fromJson(JsonReader jsonReader)
Reads an instance of ConfigMap from the JsonReader.
Parameters:
Returns:
Throws:
keyValuePairs
public Map<String,String> keyValuePairs()
Get the keyValuePairs property: The key value pairs dictionary in the config map.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyValuePairs
public ConfigMap withKeyValuePairs(Map<String,String> keyValuePairs)
Set the keyValuePairs property: The key value pairs dictionary in the config map.
Parameters:
Returns: