Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Disk.Builder |
bootOrder(Integer bootOrder)
Order of boot volumes.
|
Disk |
build() |
Disk.Builder |
copy(Disk model) |
Disk.Builder |
location(String location)
Location of the boot/data volume.
|
Disk.Builder |
name(String name)
Disk name.
|
Disk.Builder |
persistentMode(String persistentMode)
The disk persistent mode.
|
Disk.Builder |
sizeInMBs(Long sizeInMBs)
The size of the volume in MBs.
|
Disk.Builder |
uuid(String uuid)
Disk UUID for the virtual disk, if available.
|
Disk.Builder |
uuidLun(String uuidLun)
Disk UUID LUN for the virtual disk, if available.
|
public Disk.Builder name(String name)
Disk name.
name
- the value to setpublic Disk.Builder bootOrder(Integer bootOrder)
Order of boot volumes.
bootOrder
- the value to setpublic Disk.Builder uuid(String uuid)
Disk UUID for the virtual disk, if available.
uuid
- the value to setpublic Disk.Builder uuidLun(String uuidLun)
Disk UUID LUN for the virtual disk, if available.
uuidLun
- the value to setpublic Disk.Builder sizeInMBs(Long sizeInMBs)
The size of the volume in MBs.
sizeInMBs
- the value to setpublic Disk.Builder location(String location)
Location of the boot/data volume.
location
- the value to setpublic Disk.Builder persistentMode(String persistentMode)
The disk persistent mode.
persistentMode
- the value to setpublic Disk build()
public Disk.Builder copy(Disk model)
Copyright © 2016–2024. All rights reserved.