Package com.morpheusdata.request
Class ValidateVolumeConfigRequest
java.lang.Object
com.morpheusdata.request.ValidateVolumeConfigRequest
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 Summary
FieldsModifier and TypeFieldDescriptionThe controller mount point identifier (e.g.The existing volume ID, ornullfor new volumes.The maximum IOPS requested for this volume.The volume display name.Whether the service plan allows resizing this volume.Whether the volume supports resizing.Whether this is the root/boot volume.The requested volume size in bytes.TheStorageVolumeTypeID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getSize()voidsetControllerMountPoint(String controllerMountPoint) voidvoidsetMaxIOPS(Long maxIOPS) voidvoidsetPlanResizable(Boolean planResizable) voidsetResizeable(Boolean resizeable) voidsetRootVolume(Boolean rootVolume) voidvoidsetStorageType(Long storageType)
-
Field Details
-
id
The existing volume ID, ornullfor new volumes. -
name
The volume display name. -
size
The requested volume size in bytes. -
rootVolume
Whether this is the root/boot volume. -
storageType
TheStorageVolumeTypeID. -
maxIOPS
The maximum IOPS requested for this volume. -
resizeable
Whether the volume supports resizing. -
planResizable
Whether the service plan allows resizing this volume. -
controllerMountPoint
The controller mount point identifier (e.g. bus/unit address).
-
-
Constructor Details
-
ValidateVolumeConfigRequest
public ValidateVolumeConfigRequest()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getSize
-
setSize
-
getRootVolume
-
setRootVolume
-
getStorageType
-
setStorageType
-
getMaxIOPS
-
setMaxIOPS
-
getResizeable
-
setResizeable
-
getPlanResizable
-
setPlanResizable
-
getControllerMountPoint
-
setControllerMountPoint
-