Package com.vmware.nsx_policy.model
Class MiscConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MiscConfig.Builder
-
- Enclosing class:
- MiscConfig
public static final class MiscConfig.Builder extends java.lang.Object
Builder class forMiscConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMiscConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiscConfig
build()
MiscConfig.Builder
setHighPerformanceConfigParams(java.util.List<HighPerformanceConfigParams> highPerformanceConfigParams)
List of parameters that could be used to configure high performance.MiscConfig.Builder
setUplinkRxRingSize(java.lang.Long uplinkRxRingSize)
This property will be required to change the RX ring size of all uplinks in DVS.MiscConfig.Builder
setUplinkTxRingSize(java.lang.Long uplinkTxRingSize)
This property will be required to change the TX ring size of all uplinks in DVS.MiscConfig.Builder
setVersion(java.util.List<java.lang.String> version)
Based on the high_performance_config_type, it could be either driver version or host version.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMiscConfig
.
-
-
Method Detail
-
setUplinkRxRingSize
public MiscConfig.Builder setUplinkRxRingSize(java.lang.Long uplinkRxRingSize)
This property will be required to change the RX ring size of all uplinks in DVS. It should be in multiples of 32. format: int32- Parameters:
uplinkRxRingSize
- New value for the property.
-
setUplinkTxRingSize
public MiscConfig.Builder setUplinkTxRingSize(java.lang.Long uplinkTxRingSize)
This property will be required to change the TX ring size of all uplinks in DVS. It should be in multiples of 32. format: int32- Parameters:
uplinkTxRingSize
- New value for the property.
-
setHighPerformanceConfigParams
public MiscConfig.Builder setHighPerformanceConfigParams(java.util.List<HighPerformanceConfigParams> highPerformanceConfigParams)
List of parameters that could be used to configure high performance.- Parameters:
highPerformanceConfigParams
- New value for the property.
-
setVersion
public MiscConfig.Builder setVersion(java.util.List<java.lang.String> version)
Based on the high_performance_config_type, it could be either driver version or host version. For high_performance_config_type as ADV_CONFIG or MISC_CONFIG, this represents host version. For high_performance_config_type as DRIVER_CONFIG, this represents physical NIC driver version.- Parameters:
version
- New value for the property.
-
build
public MiscConfig build()
-
-