Class RateLimitArgs.Builder

  • Enclosing class:
    RateLimitArgs

    public static final class RateLimitArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • action

        public RateLimitArgs.Builder action​(com.pulumi.core.Output<RateLimitActionArgs> action)
        Parameters:
        action - The action to be performed when the threshold of matched traffic within the period defined is exceeded.
        Returns:
        builder
      • action

        public RateLimitArgs.Builder action​(RateLimitActionArgs action)
        Parameters:
        action - The action to be performed when the threshold of matched traffic within the period defined is exceeded.
        Returns:
        builder
      • bypassUrlPatterns

        public RateLimitArgs.Builder bypassUrlPatterns​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> bypassUrlPatterns)
      • bypassUrlPatterns

        public RateLimitArgs.Builder bypassUrlPatterns​(java.util.List<java.lang.String> bypassUrlPatterns)
      • bypassUrlPatterns

        public RateLimitArgs.Builder bypassUrlPatterns​(java.lang.String... bypassUrlPatterns)
      • correlate

        public RateLimitArgs.Builder correlate​(@Nullable
                                               com.pulumi.core.Output<RateLimitCorrelateArgs> correlate)
        Parameters:
        correlate - Determines how rate limiting is applied. By default if not specified, rate limiting applies to the clients IP address.
        Returns:
        builder
      • correlate

        public RateLimitArgs.Builder correlate​(RateLimitCorrelateArgs correlate)
        Parameters:
        correlate - Determines how rate limiting is applied. By default if not specified, rate limiting applies to the clients IP address.
        Returns:
        builder
      • description

        public RateLimitArgs.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A note that you can use to describe the reason for a rate limit. This value is sanitized and all tags are removed.
        Returns:
        builder
      • description

        public RateLimitArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A note that you can use to describe the reason for a rate limit. This value is sanitized and all tags are removed.
        Returns:
        builder
      • disabled

        public RateLimitArgs.Builder disabled​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - Whether this ratelimit is currently disabled. Defaults to `false`.
        Returns:
        builder
      • disabled

        public RateLimitArgs.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - Whether this ratelimit is currently disabled. Defaults to `false`.
        Returns:
        builder
      • match

        public RateLimitArgs.Builder match​(@Nullable
                                           com.pulumi.core.Output<RateLimitMatchArgs> match)
        Parameters:
        match - Determines which traffic the rate limit counts towards the threshold. By default matches all traffic in the zone.
        Returns:
        builder
      • match

        public RateLimitArgs.Builder match​(RateLimitMatchArgs match)
        Parameters:
        match - Determines which traffic the rate limit counts towards the threshold. By default matches all traffic in the zone.
        Returns:
        builder
      • period

        public RateLimitArgs.Builder period​(com.pulumi.core.Output<java.lang.Integer> period)
        Parameters:
        period - The time in seconds to count matching traffic. If the count exceeds threshold within this period the action will be performed.
        Returns:
        builder
      • period

        public RateLimitArgs.Builder period​(java.lang.Integer period)
        Parameters:
        period - The time in seconds to count matching traffic. If the count exceeds threshold within this period the action will be performed.
        Returns:
        builder
      • threshold

        public RateLimitArgs.Builder threshold​(com.pulumi.core.Output<java.lang.Integer> threshold)
        Parameters:
        threshold - The threshold that triggers the rate limit mitigations, combine with period.
        Returns:
        builder
      • threshold

        public RateLimitArgs.Builder threshold​(java.lang.Integer threshold)
        Parameters:
        threshold - The threshold that triggers the rate limit mitigations, combine with period.
        Returns:
        builder
      • zoneId

        public RateLimitArgs.Builder zoneId​(com.pulumi.core.Output<java.lang.String> zoneId)
        Parameters:
        zoneId - The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
        Returns:
        builder
      • zoneId

        public RateLimitArgs.Builder zoneId​(java.lang.String zoneId)
        Parameters:
        zoneId - The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
        Returns:
        builder