Class Runtime
java.lang.Object
com.azure.resourcemanager.appcontainers.models.Runtime
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Runtime>
Container App Runtime configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Runtime
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of Runtime from the JsonReader.java()
Get the java property: Java app configuration.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withJava
(RuntimeJava java) Set the java property: Java app configuration.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
-
Runtime
public Runtime()Creates an instance of Runtime class.
-
-
Method Details
-
java
Get the java property: Java app configuration.- Returns:
- the java value.
-
withJava
Set the java property: Java app configuration.- Parameters:
java
- the java value to set.- Returns:
- the Runtime 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<Runtime>
- Throws:
IOException
-
fromJson
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.
-