Package com.vmware.nsx_policy.model
Class DriverConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DriverConfig.Builder
-
- Enclosing class:
- DriverConfig
public static final class DriverConfig.Builder extends java.lang.Object
Builder class forDriverConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDriverConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverConfig
build()
DriverConfig.Builder
setDriverInfo(java.util.List<java.lang.String> driverInfo)
This is physical nic driver version.DriverConfig.Builder
setHighPerformanceConfigParams(java.util.List<HighPerformanceConfigParams> highPerformanceConfigParams)
List of parameters that could be used to configure high performance.DriverConfig.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 ofDriverConfig
.
-
-
Method Detail
-
setDriverInfo
public DriverConfig.Builder setDriverInfo(java.util.List<java.lang.String> driverInfo)
This is physical nic driver version.- Parameters:
driverInfo
- New value for the property.
-
setHighPerformanceConfigParams
public DriverConfig.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 DriverConfig.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 DriverConfig build()
-
-