ApplicationGatewayAdvancedRoutingRule Class

public final class ApplicationGatewayAdvancedRoutingRule
extends SubResource

Advanced routing rule of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayAdvancedRoutingRule()

Creates an instance of ApplicationGatewayAdvancedRoutingRule 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 ApplicationGatewayAdvancedRoutingRule fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingRule from the JsonReader.

String name()

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

ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayAdvancedRoutingRule withId(String id)
ApplicationGatewayAdvancedRoutingRule withName(String name)

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

ApplicationGatewayAdvancedRoutingRule withProperties(ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties)

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayAdvancedRoutingRule

public ApplicationGatewayAdvancedRoutingRule()

Creates an instance of ApplicationGatewayAdvancedRoutingRule 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 ApplicationGatewayAdvancedRoutingRule fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayAdvancedRoutingRule from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

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

Returns:

the name value.

properties

public ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties()

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

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayAdvancedRoutingRule.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 ApplicationGatewayAdvancedRoutingRule withId(String id)

Overrides:

ApplicationGatewayAdvancedRoutingRule.withId(String id)

Parameters:

id

withName

public ApplicationGatewayAdvancedRoutingRule withName(String name)

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

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayAdvancedRoutingRule object itself.

withProperties

public ApplicationGatewayAdvancedRoutingRule withProperties(ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties)

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

Parameters:

properties - the properties value to set.

Returns:

the ApplicationGatewayAdvancedRoutingRule object itself.

Applies to