Class DeploymentServer

java.lang.Object
com.azure.resourcemanager.apicenter.models.DeploymentServer
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentServer>

public final class DeploymentServer extends Object implements com.azure.json.JsonSerializable<DeploymentServer>
Server.
  • Constructor Details

    • DeploymentServer

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

    • runtimeUri

      public List<String> runtimeUri()
      Get the runtimeUri property: Base runtime URLs for this deployment.
      Returns:
      the runtimeUri value.
    • withRuntimeUri

      public DeploymentServer withRuntimeUri(List<String> runtimeUri)
      Set the runtimeUri property: Base runtime URLs for this deployment.
      Parameters:
      runtimeUri - the runtimeUri value to set.
      Returns:
      the DeploymentServer 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<DeploymentServer>
      Throws:
      IOException
    • fromJson

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