Class WindowsJavaContainerSettings

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

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

    Constructors
    Constructor
    Description
    Creates an instance of WindowsJavaContainerSettings 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 WindowsJavaContainerSettings 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 javaContainer property: Java container (runtime only).
    Get the javaContainerVersion property: Java container 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

    • WindowsJavaContainerSettings

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

    • javaContainer

      public String javaContainer()
      Get the javaContainer property: Java container (runtime only).
      Returns:
      the javaContainer value.
    • javaContainerVersion

      public String javaContainerVersion()
      Get the javaContainerVersion property: Java container version (runtime only).
      Returns:
      the javaContainerVersion 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<WindowsJavaContainerSettings>
      Throws:
      IOException
    • fromJson

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