Class SupportedServerVersionInner

java.lang.Object
com.azure.resourcemanager.appplatform.fluent.models.SupportedServerVersionInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<SupportedServerVersionInner>

public final class SupportedServerVersionInner extends Object implements com.azure.json.JsonSerializable<SupportedServerVersionInner>
Supported server version.
  • Constructor Details

    • SupportedServerVersionInner

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

    • value

      public String value()
      Get the value property: The raw server version value which could be passed to deployment CRUD operations.
      Returns:
      the value value.
    • withValue

      public SupportedServerVersionInner withValue(String value)
      Set the value property: The raw server version value which could be passed to deployment CRUD operations.
      Parameters:
      value - the value value to set.
      Returns:
      the SupportedServerVersionInner object itself.
    • server

      public String server()
      Get the server property: The server name.
      Returns:
      the server value.
    • withServer

      public SupportedServerVersionInner withServer(String server)
      Set the server property: The server name.
      Parameters:
      server - the server value to set.
      Returns:
      the SupportedServerVersionInner object itself.
    • version

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

      public SupportedServerVersionInner withVersion(String version)
      Set the version property: The Server version.
      Parameters:
      version - the version value to set.
      Returns:
      the SupportedServerVersionInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SupportedServerVersionInner>
      Throws:
      IOException
    • fromJson

      public static SupportedServerVersionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SupportedServerVersionInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SupportedServerVersionInner 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 SupportedServerVersionInner.