Class WebAppStackProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.WebAppStackProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WebAppStackProperties>
public final class WebAppStackProperties
extends Object
implements com.azure.json.JsonSerializable<WebAppStackProperties>
WebAppStack resource specific properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayText property: Web App stack (display only).static WebAppStackProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WebAppStackProperties from the JsonReader.Get the majorVersions property: List of major versions available.Get the preferredOs property: Web App stack preferred OS.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.value()
Get the value property: Web App stack name.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
-
WebAppStackProperties
public WebAppStackProperties()Creates an instance of WebAppStackProperties class.
-
-
Method Details
-
displayText
Get the displayText property: Web App stack (display only).- Returns:
- the displayText value.
-
value
Get the value property: Web App stack name.- Returns:
- the value value.
-
majorVersions
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
preferredOs
Get the preferredOs property: Web App stack preferred OS.- Returns:
- the preferredOs 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<WebAppStackProperties>
- Throws:
IOException
-
fromJson
public static WebAppStackProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WebAppStackProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WebAppStackProperties 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 WebAppStackProperties.
-