Class ApplicationGatewayRequestRoutingRulePropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.ApplicationGatewayRequestRoutingRulePropertiesFormat
-
public final class ApplicationGatewayRequestRoutingRulePropertiesFormat extends Object
Properties of request routing rule of the application gateway.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayRequestRoutingRulePropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcebackendAddressPool()Get the backendAddressPool property: Backend address pool resource of the application gateway.com.azure.core.management.SubResourcebackendHttpSettings()Get the backendHttpSettings property: Backend http settings resource of the application gateway.com.azure.core.management.SubResourcehttpListener()Get the httpListener property: Http listener resource of the application gateway.com.azure.core.management.SubResourceloadDistributionPolicy()Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.Integerpriority()Get the priority property: Priority of the request routing rule.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the request routing rule resource.com.azure.core.management.SubResourceredirectConfiguration()Get the redirectConfiguration property: Redirect configuration resource of the application gateway.com.azure.core.management.SubResourcerewriteRuleSet()Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.ApplicationGatewayRequestRoutingRuleTyperuleType()Get the ruleType property: Rule type.com.azure.core.management.SubResourceurlPathMap()Get the urlPathMap property: URL path map resource of the application gateway.voidvalidate()Validates the instance.ApplicationGatewayRequestRoutingRulePropertiesFormatwithBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)Set the backendAddressPool property: Backend address pool resource of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)Set the backendHttpSettings property: Backend http settings resource of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithHttpListener(com.azure.core.management.SubResource httpListener)Set the httpListener property: Http listener resource of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy)Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithPriority(Integer priority)Set the priority property: Priority of the request routing rule.ApplicationGatewayRequestRoutingRulePropertiesFormatwithRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration)Set the redirectConfiguration property: Redirect configuration resource of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet)Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.ApplicationGatewayRequestRoutingRulePropertiesFormatwithRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)Set the ruleType property: Rule type.ApplicationGatewayRequestRoutingRulePropertiesFormatwithUrlPathMap(com.azure.core.management.SubResource urlPathMap)Set the urlPathMap property: URL path map resource of the application gateway.
-
-
-
Method Detail
-
ruleType
public ApplicationGatewayRequestRoutingRuleType ruleType()
Get the ruleType property: Rule type.- Returns:
- the ruleType value.
-
withRuleType
public ApplicationGatewayRequestRoutingRulePropertiesFormat withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType)
Set the ruleType property: Rule type.- Parameters:
ruleType- the ruleType value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
priority
public Integer priority()
Get the priority property: Priority of the request routing rule.- Returns:
- the priority value.
-
withPriority
public ApplicationGatewayRequestRoutingRulePropertiesFormat withPriority(Integer priority)
Set the priority property: Priority of the request routing rule.- Parameters:
priority- the priority value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
provisioningState
public ProvisioningState 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.
-
-