VirtualDisk Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. VirtualDisk
- com.
public final class VirtualDisk
Virtual disk model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualDisk() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
controllerKey()
Get the controller |
| Integer |
deviceKey()
Get the device |
| String |
deviceName()
Get the device |
|
Disk |
diskMode()
Get the disk |
| String |
diskObjectId()
Get the disk |
| Integer |
diskSizeGB()
Get the disk |
|
Disk |
diskType()
Get the disk |
| String |
label()
Get the label property: Gets or sets the label of the virtual disk in v |
| String |
name()
Get the name property: Gets or sets the name of the virtual disk. |
| Integer |
unitNumber()
Get the unit |
| void |
validate()
Validates the instance. |
|
Virtual |
withControllerKey(Integer controllerKey)
Set the controller |
|
Virtual |
withDeviceKey(Integer deviceKey)
Set the device |
|
Virtual |
withDeviceName(String deviceName)
Set the device |
|
Virtual |
withDiskMode(DiskMode diskMode)
Set the disk |
|
Virtual |
withDiskSizeGB(Integer diskSizeGB)
Set the disk |
|
Virtual |
withDiskType(DiskType diskType)
Set the disk |
|
Virtual |
withName(String name)
Set the name property: Gets or sets the name of the virtual disk. |
|
Virtual |
withUnitNumber(Integer unitNumber)
Set the unit |
Methods inherited from java.lang.Object
Constructor Details
VirtualDisk
public VirtualDisk()
Method Details
controllerKey
public Integer controllerKey()
Get the controllerKey property: Gets or sets the controller id.
Returns:
deviceKey
public Integer deviceKey()
Get the deviceKey property: Gets or sets the device key value.
Returns:
deviceName
public String deviceName()
Get the deviceName property: Gets or sets the device name.
Returns:
diskMode
public DiskMode diskMode()
Get the diskMode property: Gets or sets the disk mode.
Returns:
diskObjectId
public String diskObjectId()
Get the diskObjectId property: Gets or sets the disk object id.
Returns:
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB property: Gets or sets the disk total size.
Returns:
diskType
public DiskType diskType()
Get the diskType property: Gets or sets the disk backing type.
Returns:
label
public String label()
Get the label property: Gets or sets the label of the virtual disk in vCenter.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the virtual disk.
Returns:
unitNumber
public Integer unitNumber()
Get the unitNumber property: Gets or sets the unit number of the disk on the controller.
Returns:
validate
public void validate()
Validates the instance.
withControllerKey
public VirtualDisk withControllerKey(Integer controllerKey)
Set the controllerKey property: Gets or sets the controller id.
Parameters:
Returns:
withDeviceKey
public VirtualDisk withDeviceKey(Integer deviceKey)
Set the deviceKey property: Gets or sets the device key value.
Parameters:
Returns:
withDeviceName
public VirtualDisk withDeviceName(String deviceName)
Set the deviceName property: Gets or sets the device name.
Parameters:
Returns:
withDiskMode
public VirtualDisk withDiskMode(DiskMode diskMode)
Set the diskMode property: Gets or sets the disk mode.
Parameters:
Returns:
withDiskSizeGB
public VirtualDisk withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Gets or sets the disk total size.
Parameters:
Returns:
withDiskType
public VirtualDisk withDiskType(DiskType diskType)
Set the diskType property: Gets or sets the disk backing type.
Parameters:
Returns:
withName
public VirtualDisk withName(String name)
Set the name property: Gets or sets the name of the virtual disk.
Parameters:
Returns:
withUnitNumber
public VirtualDisk withUnitNumber(Integer unitNumber)
Set the unitNumber property: Gets or sets the unit number of the disk on the controller.
Parameters:
Returns: