FunctionSecretsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.FunctionSecretsInner

Implements

public final class FunctionSecretsInner
implements JsonSerializable<FunctionSecretsInner>

Function secrets.

Constructor Summary

Constructor Description
FunctionSecretsInner()

Creates an instance of FunctionSecretsInner class.

Method Summary

Modifier and Type Method and Description
static FunctionSecretsInner fromJson(JsonReader jsonReader)

Reads an instance of FunctionSecretsInner from the JsonReader.

String key()

Get the key property: Secret key.

JsonWriter toJson(JsonWriter jsonWriter)
String triggerUrl()

Get the triggerUrl property: Trigger URL.

void validate()

Validates the instance.

FunctionSecretsInner withKey(String key)

Set the key property: Secret key.

FunctionSecretsInner withTriggerUrl(String triggerUrl)

Set the triggerUrl property: Trigger URL.

Methods inherited from java.lang.Object

Constructor Details

FunctionSecretsInner

public FunctionSecretsInner()

Creates an instance of FunctionSecretsInner class.

Method Details

fromJson

public static FunctionSecretsInner fromJson(JsonReader jsonReader)

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.

key

public String key()

Get the key property: Secret key.

Returns:

the key value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerUrl

public String triggerUrl()

Get the triggerUrl property: Trigger URL.

Returns:

the triggerUrl value.

validate

public void validate()

Validates the instance.

withKey

public FunctionSecretsInner withKey(String key)

Set the key property: Secret key.

Parameters:

key - the key value to set.

Returns:

the FunctionSecretsInner object itself.

withTriggerUrl

public FunctionSecretsInner withTriggerUrl(String triggerUrl)

Set the triggerUrl property: Trigger URL.

Parameters:

triggerUrl - the triggerUrl value to set.

Returns:

the FunctionSecretsInner object itself.

Applies to