Package com.vmware.nsx_policy.model
Class IngressRateLimiter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IngressRateLimiter.Builder
-
- Enclosing class:
- IngressRateLimiter
public static final class IngressRateLimiter.Builder extends java.lang.Object
Builder class forIngressRateLimiter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIngressRateLimiter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressRateLimiter
build()
IngressRateLimiter.Builder
setAverageBandwidth(java.lang.Long averageBandwidth)
You can use the average bandwidth to reduce network congestion.IngressRateLimiter.Builder
setBurstSize(java.lang.Long burstSize)
The burst duration is set in the burst size setting.IngressRateLimiter.Builder
setEnabled(java.lang.Boolean enabled)
IngressRateLimiter.Builder
setPeakBandwidth(java.lang.Long peakBandwidth)
The peak bandwidth rate is used to support burst traffic.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIngressRateLimiter
.
-
-
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.
-
build
public IngressRateLimiter build()
-
-