Class ApplicationGatewayBackendHealthPool

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

public final class ApplicationGatewayBackendHealthPool extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayBackendHealthPool>
Application gateway BackendHealth pool.
  • Constructor Details

    • ApplicationGatewayBackendHealthPool

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

    • backendAddressPool

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

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

      public List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection()
      Get the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.
      Returns:
      the backendHttpSettingsCollection value.
    • withBackendHttpSettingsCollection

      public ApplicationGatewayBackendHealthPool withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection)
      Set the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.
      Parameters:
      backendHttpSettingsCollection - the backendHttpSettingsCollection value to set.
      Returns:
      the ApplicationGatewayBackendHealthPool 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<ApplicationGatewayBackendHealthPool>
      Throws:
      IOException
    • fromJson

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