Class VirtualDiskUpdate
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.VirtualDiskUpdate
Defines the virtual disk update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the controllerKey property: Gets or sets the controller id.Get the deviceKey property: Gets or sets the device key value.Get the deviceName property: Gets or sets the device name.diskMode()
Get the diskMode property: Gets or sets the disk mode.Get the diskSizeGB property: Gets or sets the disk total size.diskType()
Get the diskType property: Gets or sets the disk backing type.name()
Get the name property: Gets or sets the name of the virtual disk.Get the unitNumber property: Gets or sets the unit number of the disk on the controller.void
validate()
Validates the instance.withControllerKey
(Integer controllerKey) Set the controllerKey property: Gets or sets the controller id.withDeviceKey
(Integer deviceKey) Set the deviceKey property: Gets or sets the device key value.withDeviceName
(String deviceName) Set the deviceName property: Gets or sets the device name.withDiskMode
(DiskMode diskMode) Set the diskMode property: Gets or sets the disk mode.withDiskSizeGB
(Integer diskSizeGB) Set the diskSizeGB property: Gets or sets the disk total size.withDiskType
(DiskType diskType) Set the diskType property: Gets or sets the disk backing type.Set the name property: Gets or sets the name of the virtual disk.withUnitNumber
(Integer unitNumber) Set the unitNumber property: Gets or sets the unit number of the disk on the controller.
-
Constructor Details
-
VirtualDiskUpdate
public VirtualDiskUpdate()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the virtual disk.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the virtual disk.- Parameters:
name
- the name value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
diskSizeGB
Get the diskSizeGB property: Gets or sets the disk total size.- Returns:
- the diskSizeGB value.
-
withDiskSizeGB
Set the diskSizeGB property: Gets or sets the disk total size.- Parameters:
diskSizeGB
- the diskSizeGB value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
deviceKey
Get the deviceKey property: Gets or sets the device key value.- Returns:
- the deviceKey value.
-
withDeviceKey
Set the deviceKey property: Gets or sets the device key value.- Parameters:
deviceKey
- the deviceKey value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
diskMode
Get the diskMode property: Gets or sets the disk mode.- Returns:
- the diskMode value.
-
withDiskMode
Set the diskMode property: Gets or sets the disk mode.- Parameters:
diskMode
- the diskMode value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
controllerKey
Get the controllerKey property: Gets or sets the controller id.- Returns:
- the controllerKey value.
-
withControllerKey
Set the controllerKey property: Gets or sets the controller id.- Parameters:
controllerKey
- the controllerKey value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
unitNumber
Get the unitNumber property: Gets or sets the unit number of the disk on the controller.- Returns:
- the unitNumber value.
-
withUnitNumber
Set the unitNumber property: Gets or sets the unit number of the disk on the controller.- Parameters:
unitNumber
- the unitNumber value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
deviceName
Get the deviceName property: Gets or sets the device name.- Returns:
- the deviceName value.
-
withDeviceName
Set the deviceName property: Gets or sets the device name.- Parameters:
deviceName
- the deviceName value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
diskType
Get the diskType property: Gets or sets the disk backing type.- Returns:
- the diskType value.
-
withDiskType
Set the diskType property: Gets or sets the disk backing type.- Parameters:
diskType
- the diskType value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-