Class IngressRateLimiter.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of IngressRateLimiter.
    • Method Detail

      • setAverageBandwidth

        public IngressRateLimiter.Builder setAverageBandwidth​(java.lang.Long averageBandwidth)
        You can use the average bandwidth to reduce network congestion. format: int32
        Parameters:
        averageBandwidth - New value for the property.
      • setBurstSize

        public IngressRateLimiter.Builder setBurstSize​(java.lang.Long burstSize)
        The burst duration is set in the burst size setting. format: int32
        Parameters:
        burstSize - New value for the property.
      • setPeakBandwidth

        public IngressRateLimiter.Builder setPeakBandwidth​(java.lang.Long peakBandwidth)
        The peak bandwidth rate is used to support burst traffic. format: int32
        Parameters:
        peakBandwidth - New value for the property.
      • setEnabled

        public IngressRateLimiter.Builder setEnabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - New value for the property.