Class ApplicationGatewayPathRuleInner


  • public final class ApplicationGatewayPathRuleInner
    extends com.azure.core.management.SubResource
    Path rule of URL path map of an application gateway.
    • Constructor Detail

      • ApplicationGatewayPathRuleInner

        public ApplicationGatewayPathRuleInner()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the path rule that is unique within an Application Gateway.
        Returns:
        the name value.
      • withName

        public ApplicationGatewayPathRuleInner withName​(String name)
        Set the name property: Name of the path rule that is unique within an Application Gateway.
        Parameters:
        name - the name value to set.
        Returns:
        the ApplicationGatewayPathRuleInner 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.
      • paths

        public List<String> paths()
        Get the paths property: Path rules of URL path map.
        Returns:
        the paths value.
      • withPaths

        public ApplicationGatewayPathRuleInner withPaths​(List<String> paths)
        Set the paths property: Path rules of URL path map.
        Parameters:
        paths - the paths value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • backendAddressPool

        public com.azure.core.management.SubResource backendAddressPool()
        Get the backendAddressPool property: Backend address pool resource of URL path map path rule.
        Returns:
        the backendAddressPool value.
      • withBackendAddressPool

        public ApplicationGatewayPathRuleInner withBackendAddressPool​(com.azure.core.management.SubResource backendAddressPool)
        Set the backendAddressPool property: Backend address pool resource of URL path map path rule.
        Parameters:
        backendAddressPool - the backendAddressPool value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • backendHttpSettings

        public com.azure.core.management.SubResource backendHttpSettings()
        Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.
        Returns:
        the backendHttpSettings value.
      • withBackendHttpSettings

        public ApplicationGatewayPathRuleInner withBackendHttpSettings​(com.azure.core.management.SubResource backendHttpSettings)
        Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.
        Parameters:
        backendHttpSettings - the backendHttpSettings value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • redirectConfiguration

        public com.azure.core.management.SubResource redirectConfiguration()
        Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.
        Returns:
        the redirectConfiguration value.
      • withRedirectConfiguration

        public ApplicationGatewayPathRuleInner withRedirectConfiguration​(com.azure.core.management.SubResource redirectConfiguration)
        Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.
        Parameters:
        redirectConfiguration - the redirectConfiguration value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • rewriteRuleSet

        public com.azure.core.management.SubResource rewriteRuleSet()
        Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.
        Returns:
        the rewriteRuleSet value.
      • withRewriteRuleSet

        public ApplicationGatewayPathRuleInner withRewriteRuleSet​(com.azure.core.management.SubResource rewriteRuleSet)
        Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.
        Parameters:
        rewriteRuleSet - the rewriteRuleSet value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • loadDistributionPolicy

        public com.azure.core.management.SubResource loadDistributionPolicy()
        Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.
        Returns:
        the loadDistributionPolicy value.
      • withLoadDistributionPolicy

        public ApplicationGatewayPathRuleInner withLoadDistributionPolicy​(com.azure.core.management.SubResource loadDistributionPolicy)
        Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.
        Parameters:
        loadDistributionPolicy - the loadDistributionPolicy value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the path rule resource.
        Returns:
        the provisioningState value.
      • firewallPolicy

        public com.azure.core.management.SubResource firewallPolicy()
        Get the firewallPolicy property: Reference to the FirewallPolicy resource.
        Returns:
        the firewallPolicy value.
      • withFirewallPolicy

        public ApplicationGatewayPathRuleInner withFirewallPolicy​(com.azure.core.management.SubResource firewallPolicy)
        Set the firewallPolicy property: Reference to the FirewallPolicy resource.
        Parameters:
        firewallPolicy - the firewallPolicy value to set.
        Returns:
        the ApplicationGatewayPathRuleInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.