ApplicationGatewayAdvancedRoutingMap Class

public final class ApplicationGatewayAdvancedRoutingMap
extends SubResource

Advanced routing map of an application gateway. Holds the advanced routing rules evaluated for requests handled by an AdvancedRouting request routing rule, along with the configuration applied when no rule matches.

Constructor Summary

Constructor Description
ApplicationGatewayAdvancedRoutingMap()

Creates an instance of ApplicationGatewayAdvancedRoutingMap class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewayAdvancedRoutingMap fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingMap from the JsonReader.

String name()

Get the name property: Name of the advanced routing map that is unique within an Application Gateway.

ApplicationGatewayAdvancedRoutingMapPropertiesFormat properties()

Get the properties property: Properties of the application gateway advanced routing map.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayAdvancedRoutingMap withId(String id)
ApplicationGatewayAdvancedRoutingMap withName(String name)

Set the name property: Name of the advanced routing map that is unique within an Application Gateway.

ApplicationGatewayAdvancedRoutingMap withProperties(ApplicationGatewayAdvancedRoutingMapPropertiesFormat properties)

Set the properties property: Properties of the application gateway advanced routing map.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayAdvancedRoutingMap

public ApplicationGatewayAdvancedRoutingMap()

Creates an instance of ApplicationGatewayAdvancedRoutingMap class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewayAdvancedRoutingMap fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingMap from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the advanced routing map that is unique within an Application Gateway.

Returns:

the name value.

properties

public ApplicationGatewayAdvancedRoutingMapPropertiesFormat properties()

Get the properties property: Properties of the application gateway advanced routing map.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayAdvancedRoutingMap.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public ApplicationGatewayAdvancedRoutingMap withId(String id)

Overrides:

ApplicationGatewayAdvancedRoutingMap.withId(String id)

Parameters:

id

withName

public ApplicationGatewayAdvancedRoutingMap withName(String name)

Set the name property: Name of the advanced routing map that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMap object itself.

withProperties

public ApplicationGatewayAdvancedRoutingMap withProperties(ApplicationGatewayAdvancedRoutingMapPropertiesFormat properties)

Set the properties property: Properties of the application gateway advanced routing map.

Parameters:

properties - the properties value to set.

Returns:

the ApplicationGatewayAdvancedRoutingMap object itself.

Applies to