public static final class VMTypes.Summary.Builder
extends java.lang.Object
VMTypes.Summary
.Constructor and Description |
---|
VMTypes.Summary.Builder(java.lang.String vm,
java.lang.String name,
PowerTypes.State powerState)
Constructor with parameters for the required properties of
VMTypes.Summary . |
Modifier and Type | Method and Description |
---|---|
VMTypes.Summary |
build() |
VMTypes.Summary.Builder |
setCpuCount(java.lang.Long cpuCount)
Number of CPU cores.
|
VMTypes.Summary.Builder |
setMemorySizeMiB(java.lang.Long memorySizeMiB)
Memory size in mebibytes.
|
public VMTypes.Summary.Builder(java.lang.String vm, java.lang.String name, PowerTypes.State powerState)
VMTypes.Summary
.public VMTypes.Summary.Builder setCpuCount(java.lang.Long cpuCount)
null
if the virtual machine configuration is not
available. For example, the configuration information would be unavailable if
the server is unable to access the virtual machine files on disk, and is often
also unavailable during the intial phases of virtual machine creation.cpuCount
- New value for the property.public VMTypes.Summary.Builder setMemorySizeMiB(java.lang.Long memorySizeMiB)
null
if the virtual machine configuration is not
available. For example, the configuration information would be unavailable if
the server is unable to access the virtual machine files on disk, and is often
also unavailable during the intial phases of virtual machine creation.memorySizeMiB
- New value for the property.public VMTypes.Summary build()