Class ValidateVolumeConfigRequest

java.lang.Object
com.morpheusdata.request.ValidateVolumeConfigRequest

public class ValidateVolumeConfigRequest extends Object
Request object for DatastoreTypeProvider.VolumeConfigValidationFacet.validateVolumeConfig(com.morpheusdata.model.Datastore, com.morpheusdata.request.ValidateVolumeConfigRequest, java.util.Map). Encapsulates the volume configuration submitted by the user during provisioning or reconfiguration. Properties can be null. Plugins are responsible for validating their own requirements.
  • Field Details

    • id

      public Long id
      The existing volume ID, or null for new volumes.
    • name

      public String name
      The volume display name.
    • size

      public Long size
      The requested volume size in bytes.
    • rootVolume

      public Boolean rootVolume
      Whether this is the root/boot volume.
    • storageType

      public Long storageType
      The StorageVolumeType ID.
    • maxIOPS

      public Long maxIOPS
      The maximum IOPS requested for this volume.
    • resizeable

      public Boolean resizeable
      Whether the volume supports resizing.
    • planResizable

      public Boolean planResizable
      Whether the service plan allows resizing this volume.
    • controllerMountPoint

      public String controllerMountPoint
      The controller mount point identifier (e.g. bus/unit address).
  • Constructor Details

    • ValidateVolumeConfigRequest

      public ValidateVolumeConfigRequest()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getSize

      public Long getSize()
    • setSize

      public void setSize(Long size)
    • getRootVolume

      public Boolean getRootVolume()
    • setRootVolume

      public void setRootVolume(Boolean rootVolume)
    • getStorageType

      public Long getStorageType()
    • setStorageType

      public void setStorageType(Long storageType)
    • getMaxIOPS

      public Long getMaxIOPS()
    • setMaxIOPS

      public void setMaxIOPS(Long maxIOPS)
    • getResizeable

      public Boolean getResizeable()
    • setResizeable

      public void setResizeable(Boolean resizeable)
    • getPlanResizable

      public Boolean getPlanResizable()
    • setPlanResizable

      public void setPlanResizable(Boolean planResizable)
    • getControllerMountPoint

      public String getControllerMountPoint()
    • setControllerMountPoint

      public void setControllerMountPoint(String controllerMountPoint)