Class ApplicationGatewayBackendHealthOnDemandInner

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

public final class ApplicationGatewayBackendHealthOnDemandInner extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayBackendHealthOnDemandInner>
Result of on demand test probe.
  • Constructor Details

    • ApplicationGatewayBackendHealthOnDemandInner

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

    • backendAddressPool

      public ApplicationGatewayBackendAddressPool backendAddressPool()
      Get the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.
      Returns:
      the backendAddressPool value.
    • withBackendAddressPool

      public ApplicationGatewayBackendHealthOnDemandInner withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool)
      Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.
      Parameters:
      backendAddressPool - the backendAddressPool value to set.
      Returns:
      the ApplicationGatewayBackendHealthOnDemandInner object itself.
    • backendHealthHttpSettings

      public ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings()
      Get the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.
      Returns:
      the backendHealthHttpSettings value.
    • withBackendHealthHttpSettings

      public ApplicationGatewayBackendHealthOnDemandInner withBackendHealthHttpSettings(ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings)
      Set the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.
      Parameters:
      backendHealthHttpSettings - the backendHealthHttpSettings value to set.
      Returns:
      the ApplicationGatewayBackendHealthOnDemandInner 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<ApplicationGatewayBackendHealthOnDemandInner>
      Throws:
      IOException
    • fromJson

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