java.lang.Object
com.azure.resourcemanager.appcontainers.models.Runtime
All Implemented Interfaces:
com.azure.json.JsonSerializable<Runtime>

public final class Runtime extends Object implements com.azure.json.JsonSerializable<Runtime>
Container App Runtime configuration.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of Runtime class.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Runtime
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of Runtime from the JsonReader.
    Get the java property: Java app configuration.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    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

      public RuntimeJava java()
      Get the java property: Java app configuration.
      Returns:
      the java value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<Runtime>
      Throws:
      IOException
    • fromJson

      public static Runtime fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.