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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendHealthServerInner class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: IP address or FQDN of backend server.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendHealthServerInner from the JsonReader.health()Get the health property: Health of backend server.Get the healthProbeLog property: Health Probe Log.Get the ipConfiguration property: Reference to IP configuration of backend server.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAddress(String address) Set the address property: IP address or FQDN of backend server.Set the health property: Health of backend server.withHealthProbeLog(String healthProbeLog) Set the healthProbeLog property: Health Probe Log.withIpConfiguration(NetworkInterfaceIpConfigurationInner ipConfiguration) Set the ipConfiguration property: Reference to IP configuration of backend server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayBackendHealthServerInner
public ApplicationGatewayBackendHealthServerInner()Creates an instance of ApplicationGatewayBackendHealthServerInner class.
-
-
Method Details
-
address
Get the address property: IP address or FQDN of backend server.- Returns:
- the address value.
-
withAddress
Set the address property: IP address or FQDN of backend server.- Parameters:
address- the address value to set.- Returns:
- the ApplicationGatewayBackendHealthServerInner object itself.
-
ipConfiguration
Get the ipConfiguration property: Reference to IP configuration of backend server.- Returns:
- the ipConfiguration value.
-
withIpConfiguration
public ApplicationGatewayBackendHealthServerInner withIpConfiguration(NetworkInterfaceIpConfigurationInner ipConfiguration) 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
public ApplicationGatewayBackendHealthServerInner withHealth(ApplicationGatewayBackendHealthServerHealth health) Set the health property: Health of backend server.- Parameters:
health- the health value to set.- Returns:
- the ApplicationGatewayBackendHealthServerInner object itself.
-
healthProbeLog
Get the healthProbeLog property: Health Probe Log.- Returns:
- the healthProbeLog value.
-
withHealthProbeLog
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
- Specified by:
toJsonin interfacecom.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.
-