ApplicationGatewayAdvancedRoutingConditionSet Class

public final class ApplicationGatewayAdvancedRoutingConditionSet
extends SubResource

Advanced routing condition set of an application gateway. Referenced by advanced routing rules to determine whether a request matches.

Constructor Summary

Constructor Description
ApplicationGatewayAdvancedRoutingConditionSet()

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

Reads an instance of ApplicationGatewayAdvancedRoutingConditionSet from the JsonReader.

String name()

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

ApplicationGatewayAdvancedRoutingConditionSetPropertiesFormat properties()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayAdvancedRoutingConditionSet withId(String id)
ApplicationGatewayAdvancedRoutingConditionSet withName(String name)

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

ApplicationGatewayAdvancedRoutingConditionSet withProperties(ApplicationGatewayAdvancedRoutingConditionSetPropertiesFormat properties)

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayAdvancedRoutingConditionSet

public ApplicationGatewayAdvancedRoutingConditionSet()

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

Reads an instance of ApplicationGatewayAdvancedRoutingConditionSet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

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

Returns:

the name value.

properties

public ApplicationGatewayAdvancedRoutingConditionSetPropertiesFormat properties()

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

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

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

Overrides:

ApplicationGatewayAdvancedRoutingConditionSet.withId(String id)

Parameters:

id

withName

public ApplicationGatewayAdvancedRoutingConditionSet withName(String name)

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

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayAdvancedRoutingConditionSet object itself.

withProperties

public ApplicationGatewayAdvancedRoutingConditionSet withProperties(ApplicationGatewayAdvancedRoutingConditionSetPropertiesFormat properties)

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

Parameters:

properties - the properties value to set.

Returns:

the ApplicationGatewayAdvancedRoutingConditionSet object itself.

Applies to