Class VirtualScsiController

java.lang.Object
com.azure.resourcemanager.connectedvmware.models.VirtualScsiController

public final class VirtualScsiController extends Object
This data object type contains the properties of a SCSI controller device attached to a virtual machine that is reported by the controller.
  • Constructor Details

    • VirtualScsiController

      public VirtualScsiController()
  • Method Details

    • type

      public ScsiControllerType type()
      Get the type property: Gets or sets the controller type.
      Returns:
      the type value.
    • withType

      public VirtualScsiController withType(ScsiControllerType type)
      Set the type property: Gets or sets the controller type.
      Parameters:
      type - the type value to set.
      Returns:
      the VirtualScsiController object itself.
    • controllerKey

      public Integer controllerKey()
      Get the controllerKey property: Gets or sets the key of the controller.
      Returns:
      the controllerKey value.
    • withControllerKey

      public VirtualScsiController withControllerKey(Integer controllerKey)
      Set the controllerKey property: Gets or sets the key of the controller.
      Parameters:
      controllerKey - the controllerKey value to set.
      Returns:
      the VirtualScsiController object itself.
    • busNumber

      public Integer busNumber()
      Get the busNumber property: Gets or sets the bus number of the controller.
      Returns:
      the busNumber value.
    • withBusNumber

      public VirtualScsiController withBusNumber(Integer busNumber)
      Set the busNumber property: Gets or sets the bus number of the controller.
      Parameters:
      busNumber - the busNumber value to set.
      Returns:
      the VirtualScsiController object itself.
    • scsiCtlrUnitNumber

      public Integer scsiCtlrUnitNumber()
      Get the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.
      Returns:
      the scsiCtlrUnitNumber value.
    • withScsiCtlrUnitNumber

      public VirtualScsiController withScsiCtlrUnitNumber(Integer scsiCtlrUnitNumber)
      Set the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.
      Parameters:
      scsiCtlrUnitNumber - the scsiCtlrUnitNumber value to set.
      Returns:
      the VirtualScsiController object itself.
    • sharing

      public VirtualScsiSharing sharing()
      Get the sharing property: Gets or sets the sharing mode.
      Returns:
      the sharing value.
    • withSharing

      public VirtualScsiController withSharing(VirtualScsiSharing sharing)
      Set the sharing property: Gets or sets the sharing mode.
      Parameters:
      sharing - the sharing value to set.
      Returns:
      the VirtualScsiController object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.