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
ConstructorsConstructorDescriptionCreates an instance of LinuxJavaContainerSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endOfLifeDate property: End-of-life date for the minor version.static LinuxJavaContainerSettings
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>.isHidden()
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
validate()
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
Get the java11Runtime property: Java 11 version (runtime only).- Returns:
- the java11Runtime value.
-
java8Runtime
Get the java8Runtime property: Java 8 version (runtime only).- Returns:
- the java8Runtime value.
-
isPreview
Get the isPreview property: <code>true</code> if the stack is in preview; otherwise, <code>false</code>.- Returns:
- the isPreview value.
-
isDeprecated
Get the isDeprecated property: <code>true</code> if the stack is deprecated; otherwise, <code>false</code>.- Returns:
- the isDeprecated value.
-
isHidden
Get the isHidden property: <code>true</code> if the stack should be hidden; otherwise, <code>false</code>.- Returns:
- the isHidden value.
-
endOfLifeDate
Get the endOfLifeDate property: End-of-life date for the minor version.- Returns:
- the endOfLifeDate value.
-
isAutoUpdate
Get the isAutoUpdate property: <code>true</code> if the stack version is auto-updated; otherwise, <code>false</code>.- Returns:
- the isAutoUpdate value.
-
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
- Specified by:
toJson
in interfacecom.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.
-