Class ApplicationGatewayBackendAddressPoolPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayBackendAddressPoolPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayBackendAddressPoolPropertiesFormat>
public final class ApplicationGatewayBackendAddressPoolPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayBackendAddressPoolPropertiesFormat>
Properties of Backend Address Pool of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backendAddresses property: Backend addresses.Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the backend address pool resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBackendAddresses(List<ApplicationGatewayBackendAddress> backendAddresses) Set the backendAddresses property: Backend addresses.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
-
ApplicationGatewayBackendAddressPoolPropertiesFormat
public ApplicationGatewayBackendAddressPoolPropertiesFormat()Creates an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat class.
-
-
Method Details
-
backendIpConfigurations
Get the backendIpConfigurations property: Collection of references to IPs defined in network interfaces.- Returns:
- the backendIpConfigurations value.
-
backendAddresses
Get the backendAddresses property: Backend addresses.- Returns:
- the backendAddresses value.
-
withBackendAddresses
public ApplicationGatewayBackendAddressPoolPropertiesFormat withBackendAddresses(List<ApplicationGatewayBackendAddress> backendAddresses) Set the backendAddresses property: Backend addresses.- Parameters:
backendAddresses- the backendAddresses value to set.- Returns:
- the ApplicationGatewayBackendAddressPoolPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the backend address pool resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayBackendAddressPoolPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayBackendAddressPoolPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayBackendAddressPoolPropertiesFormat 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 ApplicationGatewayBackendAddressPoolPropertiesFormat.
-