Class RouteProperties

    • Constructor Detail

      • RouteProperties

        public RouteProperties()
    • Method Detail

      • provisioningState

        public AfdProvisioningState provisioningState()
        Get the provisioningState property: Provisioning status.
        Returns:
        the provisioningState value.
      • deploymentStatus

        public DeploymentStatus deploymentStatus()
        Get the deploymentStatus property: The deploymentStatus property.
        Returns:
        the deploymentStatus value.
      • withOriginPath

        public RouteProperties withOriginPath​(String originPath)
        Set the originPath property: A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
        Overrides:
        withOriginPath in class RouteUpdatePropertiesParameters
        Parameters:
        originPath - the originPath value to set.
        Returns:
        the RouteUpdatePropertiesParameters object itself.
      • withCompressionSettings

        public RouteProperties withCompressionSettings​(Object compressionSettings)
        Set the compressionSettings property: compression settings.
        Overrides:
        withCompressionSettings in class RouteUpdatePropertiesParameters
        Parameters:
        compressionSettings - the compressionSettings value to set.
        Returns:
        the RouteUpdatePropertiesParameters object itself.
      • withQueryStringCachingBehavior

        public RouteProperties withQueryStringCachingBehavior​(AfdQueryStringCachingBehavior queryStringCachingBehavior)
        Set the queryStringCachingBehavior property: Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
        Overrides:
        withQueryStringCachingBehavior in class RouteUpdatePropertiesParameters
        Parameters:
        queryStringCachingBehavior - the queryStringCachingBehavior value to set.
        Returns:
        the RouteUpdatePropertiesParameters object itself.
      • withHttpsRedirect

        public RouteProperties withHttpsRedirect​(HttpsRedirect httpsRedirect)
        Set the httpsRedirect property: Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.
        Overrides:
        withHttpsRedirect in class RouteUpdatePropertiesParameters
        Parameters:
        httpsRedirect - the httpsRedirect value to set.
        Returns:
        the RouteUpdatePropertiesParameters object itself.
      • withEnabledState

        public RouteProperties withEnabledState​(EnabledState enabledState)
        Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
        Overrides:
        withEnabledState in class RouteUpdatePropertiesParameters
        Parameters:
        enabledState - the enabledState value to set.
        Returns:
        the RouteUpdatePropertiesParameters object itself.