Partager via


ApplicationGatewayBackendHealthHttpSettings Class

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

Implements

public final class ApplicationGatewayBackendHealthHttpSettings
implements JsonSerializable<ApplicationGatewayBackendHealthHttpSettings>

Application gateway BackendHealthHttp settings.

Constructor Summary

Constructor Description
ApplicationGatewayBackendHealthHttpSettings()

Creates an instance of ApplicationGatewayBackendHealthHttpSettings class.

Method Summary

Modifier and Type Method and Description
ApplicationGatewayBackendHttpSettings backendHttpSettings()

Get the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.

static ApplicationGatewayBackendHealthHttpSettings fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthHttpSettings from the JsonReader.

List<ApplicationGatewayBackendHealthServerInner> servers()

Get the servers property: List of ApplicationGatewayBackendHealthServer resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayBackendHealthHttpSettings withBackendHttpSettings(ApplicationGatewayBackendHttpSettings backendHttpSettings)

Set the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.

ApplicationGatewayBackendHealthHttpSettings withServers(List<ApplicationGatewayBackendHealthServerInner> servers)

Set the servers property: List of ApplicationGatewayBackendHealthServer resources.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendHealthHttpSettings

public ApplicationGatewayBackendHealthHttpSettings()

Creates an instance of ApplicationGatewayBackendHealthHttpSettings class.

Method Details

backendHttpSettings

public ApplicationGatewayBackendHttpSettings backendHttpSettings()

Get the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.

Returns:

the backendHttpSettings value.

fromJson

public static ApplicationGatewayBackendHealthHttpSettings fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendHealthHttpSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayBackendHealthHttpSettings 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 ApplicationGatewayBackendHealthHttpSettings.

servers

public List servers()

Get the servers property: List of ApplicationGatewayBackendHealthServer resources.

Returns:

the servers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBackendHttpSettings

public ApplicationGatewayBackendHealthHttpSettings withBackendHttpSettings(ApplicationGatewayBackendHttpSettings backendHttpSettings)

Set the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource.

Parameters:

backendHttpSettings - the backendHttpSettings value to set.

Returns:

the ApplicationGatewayBackendHealthHttpSettings object itself.

withServers

public ApplicationGatewayBackendHealthHttpSettings withServers(List servers)

Set the servers property: List of ApplicationGatewayBackendHealthServer resources.

Parameters:

servers - the servers value to set.

Returns:

the ApplicationGatewayBackendHealthHttpSettings object itself.

Applies to