Runtime Class

  • java.lang.Object
    • com.azure.resourcemanager.appcontainers.models.Runtime

Implements

public final class Runtime
implements JsonSerializable<Runtime>

Container App Runtime configuration.

Constructor Summary

Constructor Description
Runtime()

Creates an instance of Runtime class.

Method Summary

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

Reads an instance of Runtime from the JsonReader.

RuntimeJava java()

Get the java property: Java app configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Runtime withJava(RuntimeJava java)

Set the java property: Java app configuration.

Methods inherited from java.lang.Object

Constructor Details

Runtime

public Runtime()

Creates an instance of Runtime class.

Method Details

fromJson

public static Runtime fromJson(JsonReader jsonReader)

Reads an instance of Runtime from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

java

public RuntimeJava java()

Get the java property: Java app configuration.

Returns:

the java value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withJava

public Runtime withJava(RuntimeJava java)

Set the java property: Java app configuration.

Parameters:

java - the java value to set.

Returns:

the Runtime object itself.

Applies to