Package com.vmware.nsx_policy.model
Class DfwHeapMemoryUsage.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DfwHeapMemoryUsage.Builder
-
- Enclosing class:
- DfwHeapMemoryUsage
public static final class DfwHeapMemoryUsage.Builder extends java.lang.ObjectBuilder class forDfwHeapMemoryUsage.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDfwHeapMemoryUsage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DfwHeapMemoryUsagebuild()DfwHeapMemoryUsage.BuildersetDescription(java.lang.String description)Description of the DFW module.DfwHeapMemoryUsage.BuildersetName(java.lang.String name)Name of the DFW heap on specified host.DfwHeapMemoryUsage.BuildersetTotalMb(java.lang.Long totalMb)Total size of heap for the specified heap in mb units.DfwHeapMemoryUsage.BuildersetUsagePct(java.lang.Double usagePct)Percentage of heap utilized for specific heap.DfwHeapMemoryUsage.BuildersetUsedMb(java.lang.Long usedMb)Utilized size of heap for the specified heap in mb units.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDfwHeapMemoryUsage.
-
-
Method Detail
-
setDescription
public DfwHeapMemoryUsage.Builder setDescription(java.lang.String description)
Description of the DFW module. 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:
description- New value for the property.
-
setName
public DfwHeapMemoryUsage.Builder setName(java.lang.String name)
Name of the DFW heap on specified host. 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:
name- New value for the property.
-
setTotalMb
public DfwHeapMemoryUsage.Builder setTotalMb(java.lang.Long totalMb)
Total size of heap for the specified heap in mb units. 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:
totalMb- New value for the property.
-
setUsagePct
public DfwHeapMemoryUsage.Builder setUsagePct(java.lang.Double usagePct)
Percentage of heap utilized for specific heap. 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:
usagePct- New value for the property.
-
setUsedMb
public DfwHeapMemoryUsage.Builder setUsedMb(java.lang.Long usedMb)
Utilized size of heap for the specified heap in mb units. 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:
usedMb- New value for the property.
-
build
public DfwHeapMemoryUsage build()
-
-