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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendHealthOnDemandInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.Get the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendHealthOnDemandInner from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool) Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.withBackendHealthHttpSettings(ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings) Set the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings.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
-
ApplicationGatewayBackendHealthOnDemandInner
public ApplicationGatewayBackendHealthOnDemandInner()Creates an instance of ApplicationGatewayBackendHealthOnDemandInner class.
-
-
Method Details
-
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
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
- Specified by:
toJsonin interfacecom.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.
-