Class StackMinorVersion
java.lang.Object
com.azure.resourcemanager.appservice.models.StackMinorVersion
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StackMinorVersion>
public final class StackMinorVersion
extends Object
implements com.azure.json.JsonSerializable<StackMinorVersion>
Application stack minor version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayVersion property: Application stack minor version (display only).static StackMinorVersion
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of StackMinorVersion from the JsonReader.Get the isDefault property: <code>true</code> if this is the default minor version; otherwise, <code>false</code>.Get the isRemoteDebuggingEnabled property: <code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.Get the runtimeVersion property: Application stack minor version (runtime only).com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDisplayVersion
(String displayVersion) Set the displayVersion property: Application stack minor version (display only).withIsDefault
(Boolean isDefault) Set the isDefault property: <code>true</code> if this is the default minor version; otherwise, <code>false</code>.withIsRemoteDebuggingEnabled
(Boolean isRemoteDebuggingEnabled) Set the isRemoteDebuggingEnabled property: <code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.withRuntimeVersion
(String runtimeVersion) Set the runtimeVersion property: Application stack minor version (runtime only).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
-
StackMinorVersion
public StackMinorVersion()Creates an instance of StackMinorVersion class.
-
-
Method Details
-
displayVersion
Get the displayVersion property: Application stack minor version (display only).- Returns:
- the displayVersion value.
-
withDisplayVersion
Set the displayVersion property: Application stack minor version (display only).- Parameters:
displayVersion
- the displayVersion value to set.- Returns:
- the StackMinorVersion object itself.
-
runtimeVersion
Get the runtimeVersion property: Application stack minor version (runtime only).- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
Set the runtimeVersion property: Application stack minor version (runtime only).- Parameters:
runtimeVersion
- the runtimeVersion value to set.- Returns:
- the StackMinorVersion object itself.
-
isDefault
Get the isDefault property: <code>true</code> if this is the default minor version; otherwise, <code>false</code>.- Returns:
- the isDefault value.
-
withIsDefault
Set the isDefault property: <code>true</code> if this is the default minor version; otherwise, <code>false</code>.- Parameters:
isDefault
- the isDefault value to set.- Returns:
- the StackMinorVersion object itself.
-
isRemoteDebuggingEnabled
Get the isRemoteDebuggingEnabled property: <code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.- Returns:
- the isRemoteDebuggingEnabled value.
-
withIsRemoteDebuggingEnabled
Set the isRemoteDebuggingEnabled property: <code>true</code> if this supports Remote Debugging, otherwise <code>false</code>.- Parameters:
isRemoteDebuggingEnabled
- the isRemoteDebuggingEnabled value to set.- Returns:
- the StackMinorVersion object itself.
-
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<StackMinorVersion>
- Throws:
IOException
-
fromJson
Reads an instance of StackMinorVersion from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of StackMinorVersion 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 StackMinorVersion.
-