Class LinuxJavaContainerSettings

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

public final class LinuxJavaContainerSettings extends Object implements com.azure.json.JsonSerializable<LinuxJavaContainerSettings>
Linux Java Container settings.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Get the endOfLifeDate property: End-of-life date for the minor version.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of LinuxJavaContainerSettings from the JsonReader.
    Get the isAutoUpdate property: <code>true</code> if the stack version is auto-updated; otherwise, <code>false</code>.
    Get the isDeprecated property: <code>true</code> if the stack is deprecated; otherwise, <code>false</code>.
    Get the isEarlyAccess property: <code>true</code> if the minor version is early-access; otherwise, <code>false</code>.
    Get the isHidden property: <code>true</code> if the stack should be hidden; otherwise, <code>false</code>.
    Get the isPreview property: <code>true</code> if the stack is in preview; otherwise, <code>false</code>.
    Get the java11Runtime property: Java 11 version (runtime only).
    Get the java8Runtime property: Java 8 version (runtime only).
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    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

    • LinuxJavaContainerSettings

      public LinuxJavaContainerSettings()
      Creates an instance of LinuxJavaContainerSettings class.
  • Method Details

    • java11Runtime

      public String java11Runtime()
      Get the java11Runtime property: Java 11 version (runtime only).
      Returns:
      the java11Runtime value.
    • java8Runtime

      public String java8Runtime()
      Get the java8Runtime property: Java 8 version (runtime only).
      Returns:
      the java8Runtime value.
    • isPreview

      public Boolean isPreview()
      Get the isPreview property: <code>true</code> if the stack is in preview; otherwise, <code>false</code>.
      Returns:
      the isPreview value.
    • isDeprecated

      public Boolean isDeprecated()
      Get the isDeprecated property: <code>true</code> if the stack is deprecated; otherwise, <code>false</code>.
      Returns:
      the isDeprecated value.
    • isHidden

      public Boolean isHidden()
      Get the isHidden property: <code>true</code> if the stack should be hidden; otherwise, <code>false</code>.
      Returns:
      the isHidden value.
    • endOfLifeDate

      public OffsetDateTime endOfLifeDate()
      Get the endOfLifeDate property: End-of-life date for the minor version.
      Returns:
      the endOfLifeDate value.
    • isAutoUpdate

      public Boolean isAutoUpdate()
      Get the isAutoUpdate property: <code>true</code> if the stack version is auto-updated; otherwise, <code>false</code>.
      Returns:
      the isAutoUpdate value.
    • isEarlyAccess

      public Boolean isEarlyAccess()
      Get the isEarlyAccess property: <code>true</code> if the minor version is early-access; otherwise, <code>false</code>.
      Returns:
      the isEarlyAccess value.
    • 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<LinuxJavaContainerSettings>
      Throws:
      IOException
    • fromJson

      public static LinuxJavaContainerSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LinuxJavaContainerSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LinuxJavaContainerSettings 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 LinuxJavaContainerSettings.