Package com.vmware.nsx_policy.model
Class PlatformCpuUsageDebugStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PlatformCpuUsageDebugStats.Builder
-
- Enclosing class:
- PlatformCpuUsageDebugStats
public static final class PlatformCpuUsageDebugStats.Builder extends java.lang.ObjectBuilder class forPlatformCpuUsageDebugStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPlatformCpuUsageDebugStats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformCpuUsageDebugStatsbuild()PlatformCpuUsageDebugStats.BuildersetHostNetThreadNioc(PlatformNetworkThreadCpuStats hostNetThreadNioc)PlatformCpuUsageDebugStats.BuildersetHostNetThreadRx(PlatformNetworkThreadCpuStats hostNetThreadRx)PlatformCpuUsageDebugStats.BuildersetHostNetThreadTx(PlatformNetworkThreadCpuStats hostNetThreadTx)PlatformCpuUsageDebugStats.BuildersetHostPcpu(PlatformCpuStats hostPcpu)PlatformCpuUsageDebugStats.BuildersetHostVcpu(PlatformCpuStats hostVcpu)PlatformCpuUsageDebugStats.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated; unset if data source has never updated the data.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPlatformCpuUsageDebugStats.
-
-
Method Detail
-
setHostNetThreadNioc
public PlatformCpuUsageDebugStats.Builder setHostNetThreadNioc(PlatformNetworkThreadCpuStats hostNetThreadNioc)
- Parameters:
hostNetThreadNioc- New value for the property.
-
setHostNetThreadRx
public PlatformCpuUsageDebugStats.Builder setHostNetThreadRx(PlatformNetworkThreadCpuStats hostNetThreadRx)
- Parameters:
hostNetThreadRx- New value for the property.
-
setHostNetThreadTx
public PlatformCpuUsageDebugStats.Builder setHostNetThreadTx(PlatformNetworkThreadCpuStats hostNetThreadTx)
- Parameters:
hostNetThreadTx- New value for the property.
-
setHostPcpu
public PlatformCpuUsageDebugStats.Builder setHostPcpu(PlatformCpuStats hostPcpu)
- Parameters:
hostPcpu- New value for the property.
-
setHostVcpu
public PlatformCpuUsageDebugStats.Builder setHostVcpu(PlatformCpuStats hostVcpu)
- Parameters:
hostVcpu- New value for the property.
-
setLastUpdateTimestamp
public PlatformCpuUsageDebugStats.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 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:
lastUpdateTimestamp- New value for the property.
-
build
public PlatformCpuUsageDebugStats build()
-
-