Class ApplicationGatewayRequestRoutingRuleInner


  • public final class ApplicationGatewayRequestRoutingRuleInner
    extends com.azure.core.management.SubResource
    Request routing rule of an application gateway.
    • Constructor Detail

      • ApplicationGatewayRequestRoutingRuleInner

        public ApplicationGatewayRequestRoutingRuleInner()
    • Method Detail

      • 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.
      • 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.
      • etag

        public String etag()
        Get the etag property: A unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag value.
      • type

        public String type()
        Get the type property: Type of the resource.
        Returns:
        the type value.
      • priority

        public Integer priority()
        Get the priority property: Priority of the request routing rule.
        Returns:
        the priority value.
      • 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.
      • 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

        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.