Package com.vmware.nsx_policy.model
Class EdgeTransportNodeMemoryUsage.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.EdgeTransportNodeMemoryUsage.Builder
-
- Enclosing class:
- EdgeTransportNodeMemoryUsage
public static final class EdgeTransportNodeMemoryUsage.Builder extends java.lang.Object
Builder class forEdgeTransportNodeMemoryUsage
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofEdgeTransportNodeMemoryUsage
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgeTransportNodeMemoryUsage
build()
EdgeTransportNodeMemoryUsage.Builder
setCacheUsage(java.lang.Double cacheUsage)
Percentage of RAM on the system that can be flushed out to disk.EdgeTransportNodeMemoryUsage.Builder
setDatapathMemUsageDetails(EdgeTransportNodeDatapathMemoryUsage datapathMemUsageDetails)
EdgeTransportNodeMemoryUsage.Builder
setDatapathTotalUsage(java.lang.Double datapathTotalUsage)
Percentage of memory in use by datapath processes which includes RES and hugepage memory.EdgeTransportNodeMemoryUsage.Builder
setSwapUsage(java.lang.Double swapUsage)
Percentage of swap disk in use.EdgeTransportNodeMemoryUsage.Builder
setSystemMemUsage(java.lang.Double systemMemUsage)
Percentage of RAM in use on edge node.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofEdgeTransportNodeMemoryUsage
.
-
-
Method Detail
-
setCacheUsage
public EdgeTransportNodeMemoryUsage.Builder setCacheUsage(java.lang.Double cacheUsage)
Percentage of RAM on the system that can be flushed out to disk. 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:
cacheUsage
- New value for the property.
-
setDatapathMemUsageDetails
public EdgeTransportNodeMemoryUsage.Builder setDatapathMemUsageDetails(EdgeTransportNodeDatapathMemoryUsage datapathMemUsageDetails)
- Parameters:
datapathMemUsageDetails
- New value for the property.
-
setDatapathTotalUsage
public EdgeTransportNodeMemoryUsage.Builder setDatapathTotalUsage(java.lang.Double datapathTotalUsage)
Percentage of memory in use by datapath processes which includes RES and hugepage memory. 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:
datapathTotalUsage
- New value for the property.
-
setSwapUsage
public EdgeTransportNodeMemoryUsage.Builder setSwapUsage(java.lang.Double swapUsage)
Percentage of swap disk in use. 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:
swapUsage
- New value for the property.
-
setSystemMemUsage
public EdgeTransportNodeMemoryUsage.Builder setSystemMemUsage(java.lang.Double systemMemUsage)
Percentage of RAM in use on edge node. 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:
systemMemUsage
- New value for the property.
-
build
public EdgeTransportNodeMemoryUsage build()
-
-