Class ApplicationGatewayBackendHealthHttpSettings

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

public final class ApplicationGatewayBackendHealthHttpSettings extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayBackendHealthHttpSettings>
Application gateway BackendHealthHttp settings.
  • Constructor Details

    • ApplicationGatewayBackendHealthHttpSettings

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

    • backendHttpSettings

      public ApplicationGatewayBackendHttpSettings backendHttpSettings()
      Get the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.
      Returns:
      the backendHttpSettings value.
    • withBackendHttpSettings

      public ApplicationGatewayBackendHealthHttpSettings withBackendHttpSettings(ApplicationGatewayBackendHttpSettings backendHttpSettings)
      Set the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.
      Parameters:
      backendHttpSettings - the backendHttpSettings value to set.
      Returns:
      the ApplicationGatewayBackendHealthHttpSettings object itself.
    • servers

      Get the servers property: List of ApplicationGatewayBackendHealthServer resources.
      Returns:
      the servers value.
    • withServers

      Set the servers property: List of ApplicationGatewayBackendHealthServer resources.
      Parameters:
      servers - the servers value to set.
      Returns:
      the ApplicationGatewayBackendHealthHttpSettings 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<ApplicationGatewayBackendHealthHttpSettings>
      Throws:
      IOException
    • fromJson

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