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 Details

    • SelfManagedUpgradeProfile

      public SelfManagedUpgradeProfile()
      Creates an instance of SelfManagedUpgradeProfile class.
  • Method Details

    • version

      public String version()
      Get the version property: Istio version.
      Returns:
      the version value.
    • withVersion

      public SelfManagedUpgradeProfile withVersion(String version)
      Set the version property: Istio version.
      Parameters:
      version - the version value to set.
      Returns:
      the SelfManagedUpgradeProfile object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.