Package com.vmware.nsx_policy.model
Class EgressRateLimiter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.EgressRateLimiter.Builder
-
- Enclosing class:
- EgressRateLimiter
public static final class EgressRateLimiter.Builder extends java.lang.Object
Builder class forEgressRateLimiter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofEgressRateLimiter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgressRateLimiter
build()
EgressRateLimiter.Builder
setAverageBandwidth(java.lang.Long averageBandwidth)
Average bandwidth in Mb/s format: int32EgressRateLimiter.Builder
setBurstSize(java.lang.Long burstSize)
Burst size in bytes format: int32EgressRateLimiter.Builder
setEnabled(java.lang.Boolean enabled)
EgressRateLimiter.Builder
setPeakBandwidth(java.lang.Long peakBandwidth)
Peak bandwidth in Mb/s format: int32
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofEgressRateLimiter
.
-
-
Method Detail
-
setAverageBandwidth
public EgressRateLimiter.Builder setAverageBandwidth(java.lang.Long averageBandwidth)
Average bandwidth in Mb/s format: int32- Parameters:
averageBandwidth
- New value for the property.
-
setBurstSize
public EgressRateLimiter.Builder setBurstSize(java.lang.Long burstSize)
Burst size in bytes format: int32- Parameters:
burstSize
- New value for the property.
-
setPeakBandwidth
public EgressRateLimiter.Builder setPeakBandwidth(java.lang.Long peakBandwidth)
Peak bandwidth in Mb/s format: int32- Parameters:
peakBandwidth
- New value for the property.
-
setEnabled
public EgressRateLimiter.Builder setEnabled(java.lang.Boolean enabled)
- Parameters:
enabled
- New value for the property.
-
build
public EgressRateLimiter build()
-
-