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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionSecretsInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionSecretsInner from the JsonReader.key()
Get the key property: Secret key.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the triggerUrl property: Trigger URL.void
validate()
Validates the instance.Set the key property: Secret key.withTriggerUrl
(String triggerUrl) Set the triggerUrl property: Trigger URL.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
-
FunctionSecretsInner
public FunctionSecretsInner()Creates an instance of FunctionSecretsInner class.
-
-
Method Details
-
key
Get the key property: Secret key.- Returns:
- the key value.
-
withKey
Set the key property: Secret key.- Parameters:
key
- the key value to set.- Returns:
- the FunctionSecretsInner object itself.
-
triggerUrl
Get the triggerUrl property: Trigger URL.- Returns:
- the triggerUrl value.
-
withTriggerUrl
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
- Specified by:
toJson
in interfacecom.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.
-