Package com.vmware.nsx_policy.model
Class AgentResource.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AgentResource.Builder
-
- Enclosing class:
- AgentResource
public static final class AgentResource.Builder extends java.lang.Object
Builder class forAgentResource
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAgentResource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentResource
build()
AgentResource.Builder
setMemoryTotal(java.lang.Long memoryTotal)
Total available memory in kilobytes.AgentResource.Builder
setMemoryUsed(java.lang.Long memoryUsed)
Used memory in kilobytes.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAgentResource
.
-
-
Method Detail
-
setMemoryTotal
public AgentResource.Builder setMemoryTotal(java.lang.Long memoryTotal)
Total available memory in kilobytes. format: int64- Parameters:
memoryTotal
- New value for the property.
-
setMemoryUsed
public AgentResource.Builder setMemoryUsed(java.lang.Long memoryUsed)
Used memory in kilobytes. format: int64- Parameters:
memoryUsed
- New value for the property.
-
build
public AgentResource build()
-
-