ApplicationGatewayRequestRoutingRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayRequestRoutingRuleInner
- com.
- com.
public final class ApplicationGatewayRequestRoutingRuleInner
extends SubResource
Request routing rule of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayRequestRoutingRuleInner() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
backendAddressPool()
Get the backend |
Sub |
backendHttpSettings()
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 |
httpListener()
Get the http |
Sub |
loadDistributionPolicy()
Get the load |
String |
name()
Get the name property: Name of the request routing rule that is unique within an Application Gateway. |
Integer |
priority()
Get the priority property: Priority of the request routing rule. |
Provisioning |
provisioningState()
Get the provisioning |
Sub |
redirectConfiguration()
Get the redirect |
Sub |
rewriteRuleSet()
Get the rewrite |
Application |
ruleType()
Get the rule |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
Sub |
urlPathMap()
Get the url |
void |
validate()
Validates the instance. |
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
Application |
withBackendHttpSettings(SubResource backendHttpSettings)
Set the backend |
Application |
withHttpListener(SubResource httpListener)
Set the http |
Application |
withId(String id) |
Application |
withLoadDistributionPolicy(SubResource loadDistributionPolicy)
Set the load |
Application |
withName(String name)
Set the name property: Name of the request routing rule that is unique within an Application Gateway. |
Application |
withPriority(Integer priority)
Set the priority property: Priority of the request routing rule. |
Application |
withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirect |
Application |
withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewrite |
Application |
withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the rule |
Application |
withUrlPathMap(SubResource urlPathMap)
Set the url |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayRequestRoutingRuleInner
public ApplicationGatewayRequestRoutingRuleInner()
Creates an instance of ApplicationGatewayRequestRoutingRuleInner class.
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of the application gateway.
Returns:
backendHttpSettings
public SubResource backendHttpSettings()
Get the backendHttpSettings property: Backend http 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 ApplicationGatewayRequestRoutingRuleInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRequestRoutingRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
httpListener
public SubResource httpListener()
Get the httpListener property: Http listener resource of the application gateway.
Returns:
loadDistributionPolicy
public SubResource loadDistributionPolicy()
Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.
Returns:
name
public String name()
Get the name property: Name of the request routing rule that is unique within an Application Gateway.
Returns:
priority
public Integer priority()
Get the priority property: Priority of the request routing rule.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the request routing rule resource.
Returns:
redirectConfiguration
public SubResource redirectConfiguration()
Get the redirectConfiguration property: Redirect configuration resource of the application gateway.
Returns:
rewriteRuleSet
public SubResource rewriteRuleSet()
Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.
Returns:
ruleType
public ApplicationGatewayRequestRoutingRuleType ruleType()
Get the ruleType property: Rule type.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayRequestRoutingRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
urlPathMap
public SubResource urlPathMap()
Get the urlPathMap property: URL path map resource of the application gateway.
Returns:
validate
public void validate()
Validates the instance.
withBackendAddressPool
public ApplicationGatewayRequestRoutingRuleInner withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the application gateway.
Parameters:
Returns:
withBackendHttpSettings
public ApplicationGatewayRequestRoutingRuleInner withBackendHttpSettings(SubResource backendHttpSettings)
Set the backendHttpSettings property: Backend http settings resource of the application gateway.
Parameters:
Returns:
withHttpListener
public ApplicationGatewayRequestRoutingRuleInner withHttpListener(SubResource httpListener)
Set the httpListener property: Http listener resource of the application gateway.
Parameters:
Returns:
withId
public ApplicationGatewayRequestRoutingRuleInner withId(String id)
Overrides:
ApplicationGatewayRequestRoutingRuleInner.withId(String id)Parameters:
withLoadDistributionPolicy
public ApplicationGatewayRequestRoutingRuleInner withLoadDistributionPolicy(SubResource loadDistributionPolicy)
Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.
Parameters:
Returns:
withName
public ApplicationGatewayRequestRoutingRuleInner withName(String name)
Set the name property: Name of the request routing rule that is unique within an Application Gateway.
Parameters:
Returns:
withPriority
public ApplicationGatewayRequestRoutingRuleInner withPriority(Integer priority)
Set the priority property: Priority of the request routing rule.
Parameters:
Returns:
withRedirectConfiguration
public ApplicationGatewayRequestRoutingRuleInner withRedirectConfiguration(SubResource redirectConfiguration)
Set the redirectConfiguration property: Redirect configuration resource of the application gateway.
Parameters:
Returns:
withRewriteRuleSet
public ApplicationGatewayRequestRoutingRuleInner withRewriteRuleSet(SubResource rewriteRuleSet)
Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.
Parameters:
Returns:
withRuleType
public ApplicationGatewayRequestRoutingRuleInner withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the ruleType property: Rule type.
Parameters:
Returns:
withUrlPathMap
public ApplicationGatewayRequestRoutingRuleInner withUrlPathMap(SubResource urlPathMap)
Set the urlPathMap property: URL path map resource of the application gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java