ContainerAppSecret Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ContainerAppSecret

Implements

public final class ContainerAppSecret
implements JsonSerializable<ContainerAppSecret>

Container App Secret.

Constructor Summary

Constructor Description
ContainerAppSecret()

Creates an instance of ContainerAppSecret class.

Method Summary

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

Reads an instance of ContainerAppSecret from the JsonReader.

String name()

Get the name property: Secret Name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Secret Value.

Methods inherited from java.lang.Object

Constructor Details

ContainerAppSecret

public ContainerAppSecret()

Creates an instance of ContainerAppSecret class.

Method Details

fromJson

public static ContainerAppSecret fromJson(JsonReader jsonReader)

Reads an instance of ContainerAppSecret from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContainerAppSecret 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 ContainerAppSecret.

name

public String name()

Get the name property: Secret Name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Secret Value.

Returns:

the value value.

Applies to