Class ApplicationStack
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.ApplicationStack
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationStack>
public final class ApplicationStack
extends Object
implements com.azure.json.JsonSerializable<ApplicationStack>
Application stack.
-
Method Summary
Modifier and TypeMethodDescriptionGet the dependency property: Application stack dependency.display()Get the display property: Application stack display name.Get the frameworks property: List of frameworks associated with application stack.static ApplicationStackfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationStack from the JsonReader.Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.Get the majorVersions property: List of major versions available.name()Get the name property: Application stack name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
name
-
display
Get the display property: Application stack display name.- Returns:
- the display value.
-
dependency
Get the dependency property: Application stack dependency.- Returns:
- the dependency value.
-
majorVersions
Get the majorVersions property: List of major versions available.- Returns:
- the majorVersions value.
-
frameworks
Get the frameworks property: List of frameworks associated with application stack.- Returns:
- the frameworks value.
-
isDeprecated
Get the isDeprecated property: <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.- Returns:
- the isDeprecated 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<ApplicationStack>- Throws:
IOException
-
fromJson
Reads an instance of ApplicationStack from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationStack 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 ApplicationStack.
-