Class HostKeysInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.HostKeysInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HostKeysInner>
public final class HostKeysInner
extends Object
implements com.azure.json.JsonSerializable<HostKeysInner>
Functions host level keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HostKeysInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of HostKeysInner from the JsonReader.Get the functionKeys property: Host level function keys.Get the masterKey property: Secret key.Get the systemKeys property: System keys.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withFunctionKeys
(Map<String, String> functionKeys) Set the functionKeys property: Host level function keys.withMasterKey
(String masterKey) Set the masterKey property: Secret key.withSystemKeys
(Map<String, String> systemKeys) Set the systemKeys property: System keys.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HostKeysInner
public HostKeysInner()Creates an instance of HostKeysInner class.
-
-
Method Details
-
masterKey
Get the masterKey property: Secret key.- Returns:
- the masterKey value.
-
withMasterKey
Set the masterKey property: Secret key.- Parameters:
masterKey
- the masterKey value to set.- Returns:
- the HostKeysInner object itself.
-
functionKeys
Get the functionKeys property: Host level function keys.- Returns:
- the functionKeys value.
-
withFunctionKeys
Set the functionKeys property: Host level function keys.- Parameters:
functionKeys
- the functionKeys value to set.- Returns:
- the HostKeysInner object itself.
-
systemKeys
Get the systemKeys property: System keys.- Returns:
- the systemKeys value.
-
withSystemKeys
Set the systemKeys property: System keys.- Parameters:
systemKeys
- the systemKeys value to set.- Returns:
- the HostKeysInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<HostKeysInner>
- Throws:
IOException
-
fromJson
Reads an instance of HostKeysInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of HostKeysInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the HostKeysInner.
-