Class ApplicationGatewayUrlConfiguration


  • public final class ApplicationGatewayUrlConfiguration
    extends Object
    Url configuration of the Actions set in Application Gateway.
    • Constructor Detail

      • ApplicationGatewayUrlConfiguration

        public ApplicationGatewayUrlConfiguration()
    • Method Detail

      • modifiedPath

        public String modifiedPath()
        Get the modifiedPath property: Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null.
        Returns:
        the modifiedPath value.
      • withModifiedPath

        public ApplicationGatewayUrlConfiguration withModifiedPath​(String modifiedPath)
        Set the modifiedPath property: Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null.
        Parameters:
        modifiedPath - the modifiedPath value to set.
        Returns:
        the ApplicationGatewayUrlConfiguration object itself.
      • modifiedQueryString

        public String modifiedQueryString()
        Get the modifiedQueryString property: Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null.
        Returns:
        the modifiedQueryString value.
      • withModifiedQueryString

        public ApplicationGatewayUrlConfiguration withModifiedQueryString​(String modifiedQueryString)
        Set the modifiedQueryString property: Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null.
        Parameters:
        modifiedQueryString - the modifiedQueryString value to set.
        Returns:
        the ApplicationGatewayUrlConfiguration object itself.
      • reroute

        public Boolean reroute()
        Get the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false.
        Returns:
        the reroute value.
      • withReroute

        public ApplicationGatewayUrlConfiguration withReroute​(Boolean reroute)
        Set the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false.
        Parameters:
        reroute - the reroute value to set.
        Returns:
        the ApplicationGatewayUrlConfiguration object itself.
      • validate

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