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 Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendHealthPool class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.Get the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendHealthPool 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.withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection) Set the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.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
-
ApplicationGatewayBackendHealthPool
public ApplicationGatewayBackendHealthPool()Creates an instance of ApplicationGatewayBackendHealthPool class.
-
-
Method Details
-
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
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
- Specified by:
toJsonin interfacecom.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.
-