Package com.vmware.nsx_policy.model
Class ApplianceProcessData.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ApplianceProcessData.Builder
-
- Enclosing class:
- ApplianceProcessData
public static final class ApplianceProcessData.Builder extends java.lang.ObjectBuilder class forApplianceProcessData.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofApplianceProcessData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplianceProcessDatabuild()ApplianceProcessData.BuildersetId(java.lang.String id)Display the Appliance id.ApplianceProcessData.BuildersetLinks(java.util.List<ResourceLink> links)The server will populate this field when returing the resource.ApplianceProcessData.BuildersetName(java.lang.String name)Display the appliance name.ApplianceProcessData.BuildersetSchema(java.lang.String schema)Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.ApplianceProcessData.BuildersetSelf(SelfResourceLink self)ApplianceProcessData.BuildersetTimestamp(java.lang.Long timestamp)Timestamp of last modification.ApplianceProcessData.BuildersetTopProcessByCpuCount(java.lang.Long topProcessByCpuCount)Display the total count of process.ApplianceProcessData.BuildersetTopProcessByCpuList(java.util.List<ProcessInformation> topProcessByCpuList)Display the top process list by CPU.ApplianceProcessData.BuildersetTopProcessByMemCount(java.lang.Long topProcessByMemCount)Display the total count of process.ApplianceProcessData.BuildersetTopProcessByMemList(java.util.List<ProcessInformation> topProcessByMemList)Display the top process list by memory.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofApplianceProcessData.
-
-
Method Detail
-
setLinks
public ApplianceProcessData.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
links- New value for the property.
-
setSchema
public ApplianceProcessData.Builder setSchema(java.lang.String schema)
Schema for this resource 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:
schema- New value for the property.
-
setSelf
public ApplianceProcessData.Builder setSelf(SelfResourceLink self)
- Parameters:
self- New value for the property.
-
setId
public ApplianceProcessData.Builder setId(java.lang.String id)
Display the Appliance id.- Parameters:
id- New value for the property.
-
setName
public ApplianceProcessData.Builder setName(java.lang.String name)
Display the appliance name.- Parameters:
name- New value for the property.
-
setTimestamp
public ApplianceProcessData.Builder setTimestamp(java.lang.Long timestamp)
Timestamp of last modification. format: int64- Parameters:
timestamp- New value for the property.
-
setTopProcessByCpuCount
public ApplianceProcessData.Builder setTopProcessByCpuCount(java.lang.Long topProcessByCpuCount)
Display the total count of process. format: int64- Parameters:
topProcessByCpuCount- New value for the property.
-
setTopProcessByCpuList
public ApplianceProcessData.Builder setTopProcessByCpuList(java.util.List<ProcessInformation> topProcessByCpuList)
Display the top process list by CPU.- Parameters:
topProcessByCpuList- New value for the property.
-
setTopProcessByMemCount
public ApplianceProcessData.Builder setTopProcessByMemCount(java.lang.Long topProcessByMemCount)
Display the total count of process. format: int64- Parameters:
topProcessByMemCount- New value for the property.
-
setTopProcessByMemList
public ApplianceProcessData.Builder setTopProcessByMemList(java.util.List<ProcessInformation> topProcessByMemList)
Display the top process list by memory.- Parameters:
topProcessByMemList- New value for the property.
-
build
public ApplianceProcessData build()
-
-