Class RouteConfigurationOverrideActionParameters


  • public final class RouteConfigurationOverrideActionParameters
    extends Object
    Defines the parameters for the route configuration override action.
    • Constructor Detail

      • RouteConfigurationOverrideActionParameters

        public RouteConfigurationOverrideActionParameters()
        Creates an instance of RouteConfigurationOverrideActionParameters class.
    • Method Detail

      • typeName

        public String typeName()
        Get the typeName property: The typeName property.
        Returns:
        the typeName value.
      • withTypeName

        public RouteConfigurationOverrideActionParameters withTypeName​(String typeName)
        Set the typeName property: The typeName property.
        Parameters:
        typeName - the typeName value to set.
        Returns:
        the RouteConfigurationOverrideActionParameters object itself.
      • originGroupOverride

        public OriginGroupOverride originGroupOverride()
        Get the originGroupOverride property: A reference to the origin group override configuration. Leave empty to use the default origin group on route.
        Returns:
        the originGroupOverride value.
      • withOriginGroupOverride

        public RouteConfigurationOverrideActionParameters withOriginGroupOverride​(OriginGroupOverride originGroupOverride)
        Set the originGroupOverride property: A reference to the origin group override configuration. Leave empty to use the default origin group on route.
        Parameters:
        originGroupOverride - the originGroupOverride value to set.
        Returns:
        the RouteConfigurationOverrideActionParameters object itself.
      • cacheConfiguration

        public CacheConfiguration cacheConfiguration()
        Get the cacheConfiguration property: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object.
        Returns:
        the cacheConfiguration value.
      • withCacheConfiguration

        public RouteConfigurationOverrideActionParameters withCacheConfiguration​(CacheConfiguration cacheConfiguration)
        Set the cacheConfiguration property: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object.
        Parameters:
        cacheConfiguration - the cacheConfiguration value to set.
        Returns:
        the RouteConfigurationOverrideActionParameters object itself.
      • validate

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