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
ConstructorsConstructorDescriptionCreates an instance of WindowsJavaContainerSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endOfLifeDate property: End-of-life date for the minor version.static WindowsJavaContainerSettingsfromJson(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>.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 javaContainer property: Java container (runtime only).Get the javaContainerVersion property: Java container version (runtime only).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Get the javaContainer property: Java container (runtime only).- Returns:
- the javaContainer value.
-
javaContainerVersion
Get the javaContainerVersion property: Java container version (runtime only).- Returns:
- the javaContainerVersion 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:
toJsonin interfacecom.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.
-