ApplicationGatewayBackendAddressPool Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ApplicationGatewayBackendAddressPool

Implements

public final class ApplicationGatewayBackendAddressPool
implements JsonSerializable<ApplicationGatewayBackendAddressPool>

NGroups application gateway backend address pool.

Constructor Summary

Constructor Description
ApplicationGatewayBackendAddressPool()

Creates an instance of ApplicationGatewayBackendAddressPool class.

Method Summary

Modifier and Type Method and Description
static ApplicationGatewayBackendAddressPool fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendAddressPool from the JsonReader.

String resource()

Get the resource property: The application gateway backend address pool ARM resource Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayBackendAddressPool withResource(String resource)

Set the resource property: The application gateway backend address pool ARM resource Id.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayBackendAddressPool

public ApplicationGatewayBackendAddressPool()

Creates an instance of ApplicationGatewayBackendAddressPool class.

Method Details

fromJson

public static ApplicationGatewayBackendAddressPool fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayBackendAddressPool from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resource

public String resource()

Get the resource property: The application gateway backend address pool ARM resource Id.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResource

public ApplicationGatewayBackendAddressPool withResource(String resource)

Set the resource property: The application gateway backend address pool ARM resource Id.

Parameters:

resource - the resource value to set.

Returns:

the ApplicationGatewayBackendAddressPool object itself.

Applies to