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 Details

    • HostKeysInner

      public HostKeysInner()
      Creates an instance of HostKeysInner class.
  • Method Details

    • masterKey

      public String masterKey()
      Get the masterKey property: Secret key.
      Returns:
      the masterKey value.
    • withMasterKey

      public HostKeysInner withMasterKey(String masterKey)
      Set the masterKey property: Secret key.
      Parameters:
      masterKey - the masterKey value to set.
      Returns:
      the HostKeysInner object itself.
    • functionKeys

      public Map<String,String> functionKeys()
      Get the functionKeys property: Host level function keys.
      Returns:
      the functionKeys value.
    • withFunctionKeys

      public HostKeysInner withFunctionKeys(Map<String,String> functionKeys)
      Set the functionKeys property: Host level function keys.
      Parameters:
      functionKeys - the functionKeys value to set.
      Returns:
      the HostKeysInner object itself.
    • systemKeys

      public Map<String,String> systemKeys()
      Get the systemKeys property: System keys.
      Returns:
      the systemKeys value.
    • withSystemKeys

      public HostKeysInner withSystemKeys(Map<String,String> systemKeys)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<HostKeysInner>
      Throws:
      IOException
    • fromJson

      public static HostKeysInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.