Class ApplicationGatewayBackendHealthServerInner

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

public final class ApplicationGatewayBackendHealthServerInner extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayBackendHealthServerInner>
Application gateway backendhealth http settings.
  • Constructor Details

    • ApplicationGatewayBackendHealthServerInner

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

    • address

      public String address()
      Get the address property: IP address or FQDN of backend server.
      Returns:
      the address value.
    • withAddress

      public ApplicationGatewayBackendHealthServerInner withAddress(String address)
      Set the address property: IP address or FQDN of backend server.
      Parameters:
      address - the address value to set.
      Returns:
      the ApplicationGatewayBackendHealthServerInner object itself.
    • ipConfiguration

      public NetworkInterfaceIpConfigurationInner ipConfiguration()
      Get the ipConfiguration property: Reference to IP configuration of backend server.
      Returns:
      the ipConfiguration value.
    • withIpConfiguration

      Set the ipConfiguration property: Reference to IP configuration of backend server.
      Parameters:
      ipConfiguration - the ipConfiguration value to set.
      Returns:
      the ApplicationGatewayBackendHealthServerInner object itself.
    • health

      Get the health property: Health of backend server.
      Returns:
      the health value.
    • withHealth

      Set the health property: Health of backend server.
      Parameters:
      health - the health value to set.
      Returns:
      the ApplicationGatewayBackendHealthServerInner object itself.
    • healthProbeLog

      public String healthProbeLog()
      Get the healthProbeLog property: Health Probe Log.
      Returns:
      the healthProbeLog value.
    • withHealthProbeLog

      public ApplicationGatewayBackendHealthServerInner withHealthProbeLog(String healthProbeLog)
      Set the healthProbeLog property: Health Probe Log.
      Parameters:
      healthProbeLog - the healthProbeLog value to set.
      Returns:
      the ApplicationGatewayBackendHealthServerInner 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<ApplicationGatewayBackendHealthServerInner>
      Throws:
      IOException
    • fromJson

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