Class LoadBalancerRuleOverrideArgs.Builder

    • Method Detail

      • adaptiveRoutings

        public LoadBalancerRuleOverrideArgs.Builder adaptiveRoutings​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<LoadBalancerRuleOverrideAdaptiveRoutingArgs>> adaptiveRoutings)
        Parameters:
        adaptiveRoutings - Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests.
        Returns:
        builder
      • defaultPools

        public LoadBalancerRuleOverrideArgs.Builder defaultPools​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> defaultPools)
        Parameters:
        defaultPools - A list of pool IDs ordered by their failover priority. Used whenever `pop_pools`/`country_pools`/`region_pools` are not defined.
        Returns:
        builder
      • defaultPools

        public LoadBalancerRuleOverrideArgs.Builder defaultPools​(java.util.List<java.lang.String> defaultPools)
        Parameters:
        defaultPools - A list of pool IDs ordered by their failover priority. Used whenever `pop_pools`/`country_pools`/`region_pools` are not defined.
        Returns:
        builder
      • defaultPools

        public LoadBalancerRuleOverrideArgs.Builder defaultPools​(java.lang.String... defaultPools)
        Parameters:
        defaultPools - A list of pool IDs ordered by their failover priority. Used whenever `pop_pools`/`country_pools`/`region_pools` are not defined.
        Returns:
        builder
      • fallbackPool

        public LoadBalancerRuleOverrideArgs.Builder fallbackPool​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> fallbackPool)
        Parameters:
        fallbackPool - The pool ID to use when all other pools are detected as unhealthy.
        Returns:
        builder
      • fallbackPool

        public LoadBalancerRuleOverrideArgs.Builder fallbackPool​(java.lang.String fallbackPool)
        Parameters:
        fallbackPool - The pool ID to use when all other pools are detected as unhealthy.
        Returns:
        builder
      • popPools

        public LoadBalancerRuleOverrideArgs.Builder popPools​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<LoadBalancerRuleOverridePopPoolArgs>> popPools)
        Parameters:
        popPools - A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers.
        Returns:
        builder
      • popPools

        public LoadBalancerRuleOverrideArgs.Builder popPools​(java.util.List<LoadBalancerRuleOverridePopPoolArgs> popPools)
        Parameters:
        popPools - A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers.
        Returns:
        builder
      • popPools

        public LoadBalancerRuleOverrideArgs.Builder popPools​(LoadBalancerRuleOverridePopPoolArgs... popPools)
        Parameters:
        popPools - A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers.
        Returns:
        builder
      • randomSteerings

        public LoadBalancerRuleOverrideArgs.Builder randomSteerings​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<LoadBalancerRuleOverrideRandomSteeringArgs>> randomSteerings)
        Parameters:
        randomSteerings - Configures pool weights. When `steering_policy="random"`, a random pool is selected with probability proportional to pool weights. When `steering_policy="least_outstanding_requests"`, pool weights are used to scale each pool's outstanding requests. When `steering_policy="least_connections"`, pool weights are used to scale each pool's open connections.
        Returns:
        builder
      • randomSteerings

        public LoadBalancerRuleOverrideArgs.Builder randomSteerings​(java.util.List<LoadBalancerRuleOverrideRandomSteeringArgs> randomSteerings)
        Parameters:
        randomSteerings - Configures pool weights. When `steering_policy="random"`, a random pool is selected with probability proportional to pool weights. When `steering_policy="least_outstanding_requests"`, pool weights are used to scale each pool's outstanding requests. When `steering_policy="least_connections"`, pool weights are used to scale each pool's open connections.
        Returns:
        builder
      • randomSteerings

        public LoadBalancerRuleOverrideArgs.Builder randomSteerings​(LoadBalancerRuleOverrideRandomSteeringArgs... randomSteerings)
        Parameters:
        randomSteerings - Configures pool weights. When `steering_policy="random"`, a random pool is selected with probability proportional to pool weights. When `steering_policy="least_outstanding_requests"`, pool weights are used to scale each pool's outstanding requests. When `steering_policy="least_connections"`, pool weights are used to scale each pool's open connections.
        Returns:
        builder
      • sessionAffinity

        public LoadBalancerRuleOverrideArgs.Builder sessionAffinity​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> sessionAffinity)
        Parameters:
        sessionAffinity - Configure attributes for session affinity.
        Returns:
        builder
      • sessionAffinity

        public LoadBalancerRuleOverrideArgs.Builder sessionAffinity​(java.lang.String sessionAffinity)
        Parameters:
        sessionAffinity - Configure attributes for session affinity.
        Returns:
        builder
      • sessionAffinityTtl

        public LoadBalancerRuleOverrideArgs.Builder sessionAffinityTtl​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> sessionAffinityTtl)
        Parameters:
        sessionAffinityTtl - Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless `session_affinity_ttl` is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`.
        Returns:
        builder
      • sessionAffinityTtl

        public LoadBalancerRuleOverrideArgs.Builder sessionAffinityTtl​(java.lang.Integer sessionAffinityTtl)
        Parameters:
        sessionAffinityTtl - Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless `session_affinity_ttl` is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`.
        Returns:
        builder
      • steeringPolicy

        public LoadBalancerRuleOverrideArgs.Builder steeringPolicy​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> steeringPolicy)
        Parameters:
        steeringPolicy - The method the load balancer uses to determine the route to your origin. Value `off` uses `default_pool_ids`. Value `geo` uses `pop_pools`/`country_pools`/`region_pools`. For non-proxied requests, the `country` for `country_pools` is determined by `location_strategy`. Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in `default_pool_ids` (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use `pop_pools`/`country_pools`/`region_pools` otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`.
        Returns:
        builder
      • steeringPolicy

        public LoadBalancerRuleOverrideArgs.Builder steeringPolicy​(java.lang.String steeringPolicy)
        Parameters:
        steeringPolicy - The method the load balancer uses to determine the route to your origin. Value `off` uses `default_pool_ids`. Value `geo` uses `pop_pools`/`country_pools`/`region_pools`. For non-proxied requests, the `country` for `country_pools` is determined by `location_strategy`. Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in `default_pool_ids` (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use `pop_pools`/`country_pools`/`region_pools` otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`.
        Returns:
        builder
      • ttl

        public LoadBalancerRuleOverrideArgs.Builder ttl​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> ttl)
        Parameters:
        ttl - Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`.
        Returns:
        builder
      • ttl

        public LoadBalancerRuleOverrideArgs.Builder ttl​(java.lang.Integer ttl)
        Parameters:
        ttl - Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`.
        Returns:
        builder