Package com.vmware.nsx_policy.model
Class PlatformNetworkThreadCpuStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PlatformNetworkThreadCpuStats.Builder
-
- Enclosing class:
- PlatformNetworkThreadCpuStats
public static final class PlatformNetworkThreadCpuStats.Builder extends java.lang.ObjectBuilder class forPlatformNetworkThreadCpuStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPlatformNetworkThreadCpuStats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformNetworkThreadCpuStatsbuild()PlatformNetworkThreadCpuStats.BuildersetHist0Pct(java.lang.Long hist0Pct)Number of network threads in the group with CPU utilization between 0% and 25%.PlatformNetworkThreadCpuStats.BuildersetHist25Pct(java.lang.Long hist25Pct)Number of network threads in the group with CPU utilization between 25% and 50%.PlatformNetworkThreadCpuStats.BuildersetHist50Pct(java.lang.Long hist50Pct)Number of network threads in the group with CPU utilization between 50% and 70%.PlatformNetworkThreadCpuStats.BuildersetHist70Pct(java.lang.Long hist70Pct)Number of network threads in the group with CPU utilization between 70% and 80%.PlatformNetworkThreadCpuStats.BuildersetHist80Pct(java.lang.Long hist80Pct)Number of network threads in the group with CPU utilization between 80% and 85%.PlatformNetworkThreadCpuStats.BuildersetHist85Pct(java.lang.Long hist85Pct)Number of network threads in the group with CPU utilization between 85% and 90%.PlatformNetworkThreadCpuStats.BuildersetHist90Pct(java.lang.Long hist90Pct)Number of network threads in the group with CPU utilization between 90% and 95%.PlatformNetworkThreadCpuStats.BuildersetHist95Pct(java.lang.Long hist95Pct)Number of network threads in the group with CPU utilization between 95% and 97%.PlatformNetworkThreadCpuStats.BuildersetHist97Pct(java.lang.Long hist97Pct)Number of network threads in the group with CPU utilization between 97% and 99%.PlatformNetworkThreadCpuStats.BuildersetHist99Pct(java.lang.Long hist99Pct)Number of network threads in the group with CPU utilization > 99%.PlatformNetworkThreadCpuStats.BuildersetMaxCpu(java.lang.Double maxCpu)Maximum CPU utilization of network threads in the group.PlatformNetworkThreadCpuStats.BuildersetMinCpu(java.lang.Double minCpu)Minimum CPU utilization of network threads in the group.PlatformNetworkThreadCpuStats.BuildersetNumThreads(java.lang.Long numThreads)Number of network threads in the group.PlatformNetworkThreadCpuStats.BuildersetTotalCpu(java.lang.Double totalCpu)Sum of CPU utilization of network threads in the group.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPlatformNetworkThreadCpuStats.
-
-
Method Detail
-
setHist0Pct
public PlatformNetworkThreadCpuStats.Builder setHist0Pct(java.lang.Long hist0Pct)
Number of network threads in the group with CPU utilization between 0% and 25%. format: int32- Parameters:
hist0Pct- New value for the property.
-
setHist25Pct
public PlatformNetworkThreadCpuStats.Builder setHist25Pct(java.lang.Long hist25Pct)
Number of network threads in the group with CPU utilization between 25% and 50%. format: int32- Parameters:
hist25Pct- New value for the property.
-
setHist50Pct
public PlatformNetworkThreadCpuStats.Builder setHist50Pct(java.lang.Long hist50Pct)
Number of network threads in the group with CPU utilization between 50% and 70%. format: int32- Parameters:
hist50Pct- New value for the property.
-
setHist70Pct
public PlatformNetworkThreadCpuStats.Builder setHist70Pct(java.lang.Long hist70Pct)
Number of network threads in the group with CPU utilization between 70% and 80%. format: int32- Parameters:
hist70Pct- New value for the property.
-
setHist80Pct
public PlatformNetworkThreadCpuStats.Builder setHist80Pct(java.lang.Long hist80Pct)
Number of network threads in the group with CPU utilization between 80% and 85%. format: int32- Parameters:
hist80Pct- New value for the property.
-
setHist85Pct
public PlatformNetworkThreadCpuStats.Builder setHist85Pct(java.lang.Long hist85Pct)
Number of network threads in the group with CPU utilization between 85% and 90%. format: int32- Parameters:
hist85Pct- New value for the property.
-
setHist90Pct
public PlatformNetworkThreadCpuStats.Builder setHist90Pct(java.lang.Long hist90Pct)
Number of network threads in the group with CPU utilization between 90% and 95%. format: int32- Parameters:
hist90Pct- New value for the property.
-
setHist95Pct
public PlatformNetworkThreadCpuStats.Builder setHist95Pct(java.lang.Long hist95Pct)
Number of network threads in the group with CPU utilization between 95% and 97%. format: int32- Parameters:
hist95Pct- New value for the property.
-
setHist97Pct
public PlatformNetworkThreadCpuStats.Builder setHist97Pct(java.lang.Long hist97Pct)
Number of network threads in the group with CPU utilization between 97% and 99%. format: int32- Parameters:
hist97Pct- New value for the property.
-
setHist99Pct
public PlatformNetworkThreadCpuStats.Builder setHist99Pct(java.lang.Long hist99Pct)
Number of network threads in the group with CPU utilization > 99%. format: int32- Parameters:
hist99Pct- New value for the property.
-
setMaxCpu
public PlatformNetworkThreadCpuStats.Builder setMaxCpu(java.lang.Double maxCpu)
Maximum CPU utilization of network threads in the group.- Parameters:
maxCpu- New value for the property.
-
setMinCpu
public PlatformNetworkThreadCpuStats.Builder setMinCpu(java.lang.Double minCpu)
Minimum CPU utilization of network threads in the group.- Parameters:
minCpu- New value for the property.
-
setNumThreads
public PlatformNetworkThreadCpuStats.Builder setNumThreads(java.lang.Long numThreads)
Number of network threads in the group. format: int32- Parameters:
numThreads- New value for the property.
-
setTotalCpu
public PlatformNetworkThreadCpuStats.Builder setTotalCpu(java.lang.Double totalCpu)
Sum of CPU utilization of network threads in the group.- Parameters:
totalCpu- New value for the property.
-
build
public PlatformNetworkThreadCpuStats build()
-
-