Package com.vmware.nsx_policy.model
Class CpuUsage.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CpuUsage.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CpuUsage
build()
CpuUsage.Builder
setAvgCpuCoreUsageDpdk(java.lang.Double avgCpuCoreUsageDpdk)
Indicates the average usage of all DPDK cores in percentage.CpuUsage.Builder
setAvgCpuCoreUsageNonDpdk(java.lang.Double avgCpuCoreUsageNonDpdk)
Indicates the average usage of all non-DPDK cores in percentage.CpuUsage.Builder
setHighestCpuCoreUsageDpdk(java.lang.Double highestCpuCoreUsageDpdk)
Indicates the highest CPU utilization value among DPDK cores in percentage.CpuUsage.Builder
setHighestCpuCoreUsageNonDpdk(java.lang.Double highestCpuCoreUsageNonDpdk)
Indicates the highest cpu utilization value among non_dpdk cores in percentage.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCpuUsage
.
-
-
Method Detail
-
setAvgCpuCoreUsageDpdk
public CpuUsage.Builder setAvgCpuCoreUsageDpdk(java.lang.Double avgCpuCoreUsageDpdk)
Indicates the average usage of all DPDK cores in percentage. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
avgCpuCoreUsageDpdk
- New value for the property.
-
setAvgCpuCoreUsageNonDpdk
public CpuUsage.Builder setAvgCpuCoreUsageNonDpdk(java.lang.Double avgCpuCoreUsageNonDpdk)
Indicates the average usage of all non-DPDK cores in percentage. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
avgCpuCoreUsageNonDpdk
- New value for the property.
-
setHighestCpuCoreUsageDpdk
public CpuUsage.Builder setHighestCpuCoreUsageDpdk(java.lang.Double highestCpuCoreUsageDpdk)
Indicates the highest CPU utilization value among DPDK cores in percentage. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
highestCpuCoreUsageDpdk
- New value for the property.
-
setHighestCpuCoreUsageNonDpdk
public CpuUsage.Builder setHighestCpuCoreUsageNonDpdk(java.lang.Double highestCpuCoreUsageNonDpdk)
Indicates the highest cpu utilization value among non_dpdk cores in percentage. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
highestCpuCoreUsageNonDpdk
- New value for the property.
-
build
public CpuUsage build()
-
-