ApplicationGatewayRoutingRule Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayRoutingRule
- com.
- com.
public final class ApplicationGatewayRoutingRule
extends SubResource
Routing rule of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayRoutingRule() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
backendAddressPool()
Get the backend |
Sub |
backendSettings()
Get the backend |
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 |
Sub |
listener()
Get the listener property: Listener resource of the application gateway. |
String |
name()
Get the name property: Name of the routing rule that is unique within an Application Gateway. |
Integer |
priority()
Get the priority property: Priority of the routing rule. |
Provisioning |
provisioningState()
Get the provisioning |
Application |
ruleType()
Get the rule |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
Application |
withBackendSettings(SubResource backendSettings)
Set the backend |
Application |
withId(String id) |
Application |
withListener(SubResource listener)
Set the listener property: Listener resource of the application gateway. |
Application |
withName(String name)
Set the name property: Name of the routing rule that is unique within an Application Gateway. |
Application |
withPriority(Integer priority)
Set the priority property: Priority of the routing rule. |
Application |
withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the rule |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayRoutingRule
public ApplicationGatewayRoutingRule()
Creates an instance of ApplicationGatewayRoutingRule class.
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of the application gateway.
Returns:
backendSettings
public SubResource backendSettings()
Get the backendSettings property: Backend settings resource of the application gateway.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayRoutingRule fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRoutingRule from the JsonReader.
Parameters:
Returns:
Throws:
listener
public SubResource listener()
Get the listener property: Listener resource of the application gateway.
Returns:
name
public String name()
Get the name property: Name of the routing rule that is unique within an Application Gateway.
Returns:
priority
public Integer priority()
Get the priority property: Priority of the routing rule.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the request routing rule resource.
Returns:
ruleType
public ApplicationGatewayRequestRoutingRuleType ruleType()
Get the ruleType property: Rule type.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayRoutingRule.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.
withBackendAddressPool
public ApplicationGatewayRoutingRule withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the application gateway.
Parameters:
Returns:
withBackendSettings
public ApplicationGatewayRoutingRule withBackendSettings(SubResource backendSettings)
Set the backendSettings property: Backend settings resource of the application gateway.
Parameters:
Returns:
withId
public ApplicationGatewayRoutingRule withId(String id)
Overrides:
ApplicationGatewayRoutingRule.withId(String id)Parameters:
withListener
public ApplicationGatewayRoutingRule withListener(SubResource listener)
Set the listener property: Listener resource of the application gateway.
Parameters:
Returns:
withName
public ApplicationGatewayRoutingRule withName(String name)
Set the name property: Name of the routing rule that is unique within an Application Gateway.
Parameters:
Returns:
withPriority
public ApplicationGatewayRoutingRule withPriority(Integer priority)
Set the priority property: Priority of the routing rule.
Parameters:
Returns:
withRuleType
public ApplicationGatewayRoutingRule withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the ruleType property: Rule type.
Parameters:
Returns:
Applies to
Azure SDK for Java