ApplicationGatewayAdvancedRoutingRule Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayAdvancedRoutingRule
- com.
- com.
public final class ApplicationGatewayAdvancedRoutingRule
extends SubResource
Advanced routing rule of an application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayAdvancedRoutingRule() |
Creates an instance of Application |
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
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
name()
Get the name property: Name of the advanced routing rule that is unique within an advanced routing map. |
|
Application |
properties()
Get the properties property: Properties of the application gateway advanced routing rule. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of the resource. |
| void |
validate()
Validates the instance. |
|
Application |
withId(String id) |
|
Application |
withName(String name)
Set the name property: Name of the advanced routing rule that is unique within an advanced routing map. |
|
Application |
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:
fromJson
public static ApplicationGatewayAdvancedRoutingRule fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAdvancedRoutingRule from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the advanced routing rule that is unique within an advanced routing map.
Returns:
properties
public ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties()
Get the properties property: Properties of the application gateway advanced routing rule.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayAdvancedRoutingRule.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withId
public ApplicationGatewayAdvancedRoutingRule withId(String id)
Overrides:
ApplicationGatewayAdvancedRoutingRule.withId(String id)Parameters:
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:
Returns:
withProperties
public ApplicationGatewayAdvancedRoutingRule withProperties(ApplicationGatewayAdvancedRoutingRulePropertiesFormat properties)
Set the properties property: Properties of the application gateway advanced routing rule.
Parameters:
Returns: