ApplicationGatewayRoutingRulePropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayRoutingRulePropertiesFormat
- com.
Implements
public final class ApplicationGatewayRoutingRulePropertiesFormat
implements JsonSerializable<ApplicationGatewayRoutingRulePropertiesFormat>
Properties of routing rule of the application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayRoutingRulePropertiesFormat() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sub |
backendAddressPool()
Get the backend |
|
Sub |
backendSettings()
Get the backend |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
|
Sub |
listener()
Get the listener property: Listener resource of the application gateway. |
| int |
priority()
Get the priority property: Priority of the routing rule. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Application |
ruleType()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
|
Application |
withBackendSettings(SubResource backendSettings)
Set the backend |
|
Application |
withListener(SubResource listener)
Set the listener property: Listener resource of the application gateway. |
|
Application |
withPriority(int priority)
Set the priority property: Priority of the routing rule. |
|
Application |
withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the rule |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayRoutingRulePropertiesFormat
public ApplicationGatewayRoutingRulePropertiesFormat()
Creates an instance of ApplicationGatewayRoutingRulePropertiesFormat 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:
fromJson
public static ApplicationGatewayRoutingRulePropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRoutingRulePropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
listener
public SubResource listener()
Get the listener property: Listener resource of the application gateway.
Returns:
priority
public int 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
validate
public void validate()
Validates the instance.
withBackendAddressPool
public ApplicationGatewayRoutingRulePropertiesFormat withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the application gateway.
Parameters:
Returns:
withBackendSettings
public ApplicationGatewayRoutingRulePropertiesFormat withBackendSettings(SubResource backendSettings)
Set the backendSettings property: Backend settings resource of the application gateway.
Parameters:
Returns:
withListener
public ApplicationGatewayRoutingRulePropertiesFormat withListener(SubResource listener)
Set the listener property: Listener resource of the application gateway.
Parameters:
Returns:
withPriority
public ApplicationGatewayRoutingRulePropertiesFormat withPriority(int priority)
Set the priority property: Priority of the routing rule.
Parameters:
Returns:
withRuleType
public ApplicationGatewayRoutingRulePropertiesFormat withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the ruleType property: Rule type.
Parameters:
Returns: