ApplicationGatewayRequestRoutingRuleInner Class

public final class ApplicationGatewayRequestRoutingRuleInner
extends SubResource

Request routing rule of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRequestRoutingRuleInner()

Creates an instance of ApplicationGatewayRequestRoutingRuleInner class.

Method Summary

Modifier and Type Method and Description
SubResource backendAddressPool()

Get the backendAddressPool property: Backend address pool resource of the application gateway.

SubResource backendHttpSettings()

Get the backendHttpSettings property: Backend http settings resource of the application gateway.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource httpListener()

Get the httpListener property: Http listener resource of the application gateway.

SubResource loadDistributionPolicy()

Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.

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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the request routing rule resource.

SubResource redirectConfiguration()

Get the redirectConfiguration property: Redirect configuration resource of the application gateway.

SubResource rewriteRuleSet()

Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.

ApplicationGatewayRequestRoutingRuleType ruleType()

Get the ruleType property: Rule type.

String type()

Get the type property: Type of the resource.

SubResource urlPathMap()

Get the urlPathMap property: URL path map resource of the application gateway.

void validate()

Validates the instance.

ApplicationGatewayRequestRoutingRuleInner withBackendAddressPool(SubResource backendAddressPool)

Set the backendAddressPool property: Backend address pool resource of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withBackendHttpSettings(SubResource backendHttpSettings)

Set the backendHttpSettings property: Backend http settings resource of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withHttpListener(SubResource httpListener)

Set the httpListener property: Http listener resource of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withId(String id)
ApplicationGatewayRequestRoutingRuleInner withLoadDistributionPolicy(SubResource loadDistributionPolicy)

Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withName(String name)

Set the name property: Name of the request routing rule that is unique within an Application Gateway.

ApplicationGatewayRequestRoutingRuleInner withPriority(Integer priority)

Set the priority property: Priority of the request routing rule.

ApplicationGatewayRequestRoutingRuleInner withRedirectConfiguration(SubResource redirectConfiguration)

Set the redirectConfiguration property: Redirect configuration resource of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withRewriteRuleSet(SubResource rewriteRuleSet)

Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.

ApplicationGatewayRequestRoutingRuleInner withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)

Set the ruleType property: Rule type.

ApplicationGatewayRequestRoutingRuleInner withUrlPathMap(SubResource urlPathMap)

Set the urlPathMap property: URL path map resource of the application gateway.

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:

the backendAddressPool value.

backendHttpSettings

public SubResource backendHttpSettings()

Get the backendHttpSettings property: Backend http settings resource of the application gateway.

Returns:

the backendHttpSettings value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

httpListener

public SubResource httpListener()

Get the httpListener property: Http listener resource of the application gateway.

Returns:

the httpListener value.

loadDistributionPolicy

public SubResource loadDistributionPolicy()

Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.

Returns:

the loadDistributionPolicy value.

name

public String name()

Get the name property: Name of the request routing rule that is unique within an Application Gateway.

Returns:

the name value.

priority

public Integer priority()

Get the priority property: Priority of the request routing rule.

Returns:

the priority value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the request routing rule resource.

Returns:

the provisioningState value.

redirectConfiguration

public SubResource redirectConfiguration()

Get the redirectConfiguration property: Redirect configuration resource of the application gateway.

Returns:

the redirectConfiguration value.

rewriteRuleSet

public SubResource rewriteRuleSet()

Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.

Returns:

the rewriteRuleSet value.

ruleType

public ApplicationGatewayRequestRoutingRuleType ruleType()

Get the ruleType property: Rule type.

Returns:

the ruleType value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

urlPathMap

public SubResource urlPathMap()

Get the urlPathMap property: URL path map resource of the application gateway.

Returns:

the urlPathMap value.

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:

backendAddressPool - the backendAddressPool value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withBackendHttpSettings

public ApplicationGatewayRequestRoutingRuleInner withBackendHttpSettings(SubResource backendHttpSettings)

Set the backendHttpSettings property: Backend http settings resource of the application gateway.

Parameters:

backendHttpSettings - the backendHttpSettings value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withHttpListener

public ApplicationGatewayRequestRoutingRuleInner withHttpListener(SubResource httpListener)

Set the httpListener property: Http listener resource of the application gateway.

Parameters:

httpListener - the httpListener value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withId

public ApplicationGatewayRequestRoutingRuleInner withId(String id)

Overrides:

ApplicationGatewayRequestRoutingRuleInner.withId(String id)

Parameters:

id

withLoadDistributionPolicy

public ApplicationGatewayRequestRoutingRuleInner withLoadDistributionPolicy(SubResource loadDistributionPolicy)

Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.

Parameters:

loadDistributionPolicy - the loadDistributionPolicy value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withName

public ApplicationGatewayRequestRoutingRuleInner withName(String name)

Set the name property: Name of the request routing rule that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withPriority

public ApplicationGatewayRequestRoutingRuleInner withPriority(Integer priority)

Set the priority property: Priority of the request routing rule.

Parameters:

priority - the priority value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withRedirectConfiguration

public ApplicationGatewayRequestRoutingRuleInner withRedirectConfiguration(SubResource redirectConfiguration)

Set the redirectConfiguration property: Redirect configuration resource of the application gateway.

Parameters:

redirectConfiguration - the redirectConfiguration value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withRewriteRuleSet

public ApplicationGatewayRequestRoutingRuleInner withRewriteRuleSet(SubResource rewriteRuleSet)

Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.

Parameters:

rewriteRuleSet - the rewriteRuleSet value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withRuleType

public ApplicationGatewayRequestRoutingRuleInner withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)

Set the ruleType property: Rule type.

Parameters:

ruleType - the ruleType value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

withUrlPathMap

public ApplicationGatewayRequestRoutingRuleInner withUrlPathMap(SubResource urlPathMap)

Set the urlPathMap property: URL path map resource of the application gateway.

Parameters:

urlPathMap - the urlPathMap value to set.

Returns:

the ApplicationGatewayRequestRoutingRuleInner object itself.

Applies to