Class SelfManagedUpgradeProfile
java.lang.Object
com.azure.resourcemanager.appnetwork.models.SelfManagedUpgradeProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SelfManagedUpgradeProfile>
public final class SelfManagedUpgradeProfile
extends Object
implements com.azure.json.JsonSerializable<SelfManagedUpgradeProfile>
AppLinkMember self managed upgrade profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SelfManagedUpgradeProfile class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SelfManagedUpgradeProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SelfManagedUpgradeProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) version()Get the version property: Istio version.withVersion(String version) Set the version property: Istio version.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
-
Constructor Details
-
SelfManagedUpgradeProfile
public SelfManagedUpgradeProfile()Creates an instance of SelfManagedUpgradeProfile class.
-
-
Method Details
-
version
-
withVersion
Set the version property: Istio version.- Parameters:
version- the version value to set.- Returns:
- the SelfManagedUpgradeProfile object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SelfManagedUpgradeProfile>- Throws:
IOException
-
fromJson
public static SelfManagedUpgradeProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SelfManagedUpgradeProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SelfManagedUpgradeProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SelfManagedUpgradeProfile.
-