Class FunctionSecretsInner

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.FunctionSecretsInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<FunctionSecretsInner>

public final class FunctionSecretsInner extends Object implements com.azure.json.JsonSerializable<FunctionSecretsInner>
Function secrets.
  • Constructor Details

    • FunctionSecretsInner

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

    • key

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

      public FunctionSecretsInner withKey(String key)
      Set the key property: Secret key.
      Parameters:
      key - the key value to set.
      Returns:
      the FunctionSecretsInner object itself.
    • triggerUrl

      public String triggerUrl()
      Get the triggerUrl property: Trigger URL.
      Returns:
      the triggerUrl value.
    • withTriggerUrl

      public FunctionSecretsInner withTriggerUrl(String triggerUrl)
      Set the triggerUrl property: Trigger URL.
      Parameters:
      triggerUrl - the triggerUrl value to set.
      Returns:
      the FunctionSecretsInner 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<FunctionSecretsInner>
      Throws:
      IOException
    • fromJson

      public static FunctionSecretsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FunctionSecretsInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FunctionSecretsInner 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 FunctionSecretsInner.