ApplicationGatewayBackendHealthPool Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayBackendHealthPool

Implements

public final class ApplicationGatewayBackendHealthPool
implements JsonSerializable<ApplicationGatewayBackendHealthPool>

Application gateway BackendHealth pool.

Constructor Summary

Constructor Description
ApplicationGatewayBackendHealthPool()

Creates an instance of ApplicationGatewayBackendHealthPool class.

Method Summary

Modifier and Type Method and Description
ApplicationGatewayBackendAddressPool backendAddressPool()

Get the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection()

Get the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.

static ApplicationGatewayBackendHealthPool fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthPool from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayBackendHealthPool withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool)

Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

ApplicationGatewayBackendHealthPool withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection)

Set the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendHealthPool

public ApplicationGatewayBackendHealthPool()

Creates an instance of ApplicationGatewayBackendHealthPool class.

Method Details

backendAddressPool

public ApplicationGatewayBackendAddressPool backendAddressPool()

Get the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource.

Returns:

the backendAddressPool value.

backendHttpSettingsCollection

public List backendHttpSettingsCollection()

Get the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.

Returns:

the backendHttpSettingsCollection value.

fromJson

public static ApplicationGatewayBackendHealthPool fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withBackendHttpSettingsCollection

public ApplicationGatewayBackendHealthPool withBackendHttpSettingsCollection(List backendHttpSettingsCollection)

Set the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources.

Parameters:

backendHttpSettingsCollection - the backendHttpSettingsCollection value to set.

Returns:

the ApplicationGatewayBackendHealthPool object itself.

Applies to