Class ApplicationGatewayRequestRoutingRuleInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayRequestRoutingRuleInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class ApplicationGatewayRequestRoutingRuleInner
extends com.azure.core.management.SubResource
Request routing rule of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayRequestRoutingRuleInner class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the backendAddressPool property: Backend address pool resource of the application gateway.com.azure.core.management.SubResourceGet the backendHttpSettings property: Backend http settings resource of the application gateway.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceGet the httpListener property: Http listener resource of the application gateway.com.azure.core.management.SubResourceGet the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.name()Get the name property: Name of the request routing rule that is unique within an Application Gateway.priority()Get the priority property: Priority of the request routing rule.Get the provisioningState property: The provisioning state of the request routing rule resource.com.azure.core.management.SubResourceGet the redirectConfiguration property: Redirect configuration resource of the application gateway.com.azure.core.management.SubResourceGet the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.ruleType()Get the ruleType property: Rule type.type()Get the type property: Type of the resource.com.azure.core.management.SubResourceGet the urlPathMap property: URL path map resource of the application gateway.voidvalidate()Validates the instance.withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool) Set the backendAddressPool property: Backend address pool resource of the application gateway.withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings) Set the backendHttpSettings property: Backend http settings resource of the application gateway.withHttpListener(com.azure.core.management.SubResource httpListener) Set the httpListener property: Http listener resource of the application gateway.withLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy) Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.Set the name property: Name of the request routing rule that is unique within an Application Gateway.withPriority(Integer priority) Set the priority property: Priority of the request routing rule.withRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration) Set the redirectConfiguration property: Redirect configuration resource of the application gateway.withRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet) Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.Set the ruleType property: Rule type.withUrlPathMap(com.azure.core.management.SubResource urlPathMap) Set the urlPathMap property: URL path map resource of the application gateway.Methods inherited from class com.azure.core.management.SubResource
fromJson, id, toJson
-
Constructor Details
-
ApplicationGatewayRequestRoutingRuleInner
public ApplicationGatewayRequestRoutingRuleInner()Creates an instance of ApplicationGatewayRequestRoutingRuleInner class.
-
-
Method Details
-
name
Get the name property: Name of the request routing rule that is unique within an Application Gateway.- Returns:
- the name value.
-
withName
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.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
ruleType
Get the ruleType property: Rule type.- Returns:
- the ruleType value.
-
withRuleType
public ApplicationGatewayRequestRoutingRuleInner withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType) Set the ruleType property: Rule type.- Parameters:
ruleType- the ruleType value to set.- Returns:
- the ApplicationGatewayRequestRoutingRuleInner object itself.
-
priority
Get the priority property: Priority of the request routing rule.- Returns:
- the priority value.
-
withPriority
Set the priority property: Priority of the request routing rule.- Parameters:
priority- the priority value to set.- Returns:
- the ApplicationGatewayRequestRoutingRuleInner object itself.
-
backendAddressPool
public com.azure.core.management.SubResource backendAddressPool()Get the backendAddressPool property: Backend address pool resource of the application gateway.- Returns:
- the backendAddressPool value.
-
withBackendAddressPool
public ApplicationGatewayRequestRoutingRuleInner withBackendAddressPool(com.azure.core.management.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.
-
backendHttpSettings
public com.azure.core.management.SubResource backendHttpSettings()Get the backendHttpSettings property: Backend http settings resource of the application gateway.- Returns:
- the backendHttpSettings value.
-
withBackendHttpSettings
public ApplicationGatewayRequestRoutingRuleInner withBackendHttpSettings(com.azure.core.management.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.
-
httpListener
public com.azure.core.management.SubResource httpListener()Get the httpListener property: Http listener resource of the application gateway.- Returns:
- the httpListener value.
-
withHttpListener
public ApplicationGatewayRequestRoutingRuleInner withHttpListener(com.azure.core.management.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.
-
urlPathMap
public com.azure.core.management.SubResource urlPathMap()Get the urlPathMap property: URL path map resource of the application gateway.- Returns:
- the urlPathMap value.
-
withUrlPathMap
public ApplicationGatewayRequestRoutingRuleInner withUrlPathMap(com.azure.core.management.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.
-
rewriteRuleSet
public com.azure.core.management.SubResource rewriteRuleSet()Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.- Returns:
- the rewriteRuleSet value.
-
withRewriteRuleSet
public ApplicationGatewayRequestRoutingRuleInner withRewriteRuleSet(com.azure.core.management.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.
-
redirectConfiguration
public com.azure.core.management.SubResource redirectConfiguration()Get the redirectConfiguration property: Redirect configuration resource of the application gateway.- Returns:
- the redirectConfiguration value.
-
withRedirectConfiguration
public ApplicationGatewayRequestRoutingRuleInner withRedirectConfiguration(com.azure.core.management.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.
-
loadDistributionPolicy
public com.azure.core.management.SubResource loadDistributionPolicy()Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.- Returns:
- the loadDistributionPolicy value.
-
withLoadDistributionPolicy
public ApplicationGatewayRequestRoutingRuleInner withLoadDistributionPolicy(com.azure.core.management.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.
-
provisioningState
Get the provisioningState property: The provisioning state of the request routing rule resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-