Package com.oracle.bmc.cloudbridge.model
Class Disk.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.Disk.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Disk.BuilderbootOrder(Integer bootOrder)Order of boot volumes.Diskbuild()Disk.Buildercopy(Disk model)Disk.BuilderisCbtEnabled(Boolean isCbtEnabled)Indicates that CBT (change disk tracking) is enabled for this virtual disk.Disk.Builderlocation(String location)Location of the boot/data volume.Disk.Buildername(String name)Disk name.Disk.BuilderpersistentMode(String persistentMode)The disk persistent mode.Disk.BuildersizeInMBs(Long sizeInMBs)The size of the volume in MBs.Disk.Builderuuid(String uuid)Disk UUID for the virtual disk, if available.Disk.BuilderuuidLun(String uuidLun)Disk UUID LUN for the virtual disk, if available.
 
- 
- 
- 
Method Detail- 
namepublic Disk.Builder name(String name) Disk name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
bootOrderpublic Disk.Builder bootOrder(Integer bootOrder) Order of boot volumes.- Parameters:
- bootOrder- the value to set
- Returns:
- this builder
 
 - 
uuidpublic Disk.Builder uuid(String uuid) Disk UUID for the virtual disk, if available.- Parameters:
- uuid- the value to set
- Returns:
- this builder
 
 - 
uuidLunpublic Disk.Builder uuidLun(String uuidLun) Disk UUID LUN for the virtual disk, if available.- Parameters:
- uuidLun- the value to set
- Returns:
- this builder
 
 - 
sizeInMBspublic Disk.Builder sizeInMBs(Long sizeInMBs) The size of the volume in MBs.- Parameters:
- sizeInMBs- the value to set
- Returns:
- this builder
 
 - 
locationpublic Disk.Builder location(String location) Location of the boot/data volume.- Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
persistentModepublic Disk.Builder persistentMode(String persistentMode) The disk persistent mode.- Parameters:
- persistentMode- the value to set
- Returns:
- this builder
 
 - 
isCbtEnabledpublic Disk.Builder isCbtEnabled(Boolean isCbtEnabled) Indicates that CBT (change disk tracking) is enabled for this virtual disk.- Parameters:
- isCbtEnabled- the value to set
- Returns:
- this builder
 
 - 
buildpublic Disk build() 
 - 
copypublic Disk.Builder copy(Disk model) 
 
- 
 
-