public class VolumeAction
extends java.lang.Object
| Constructor and Description | 
|---|
VolumeAction()
Constructor 
 | 
VolumeAction(ActionType type,
            java.lang.Integer dropletId,
            java.lang.String regionSlug)
Constructor 
 | 
VolumeAction(ActionType type,
            java.lang.Integer dropletId,
            java.lang.String regionSlug,
            java.lang.String volumeName,
            java.lang.Double size)
Constructor 
 | 
VolumeAction(ActionType type,
            java.lang.String regionSlug,
            java.lang.Double size)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Integer | 
getDropletId()  | 
java.lang.String | 
getRegionSlug()  | 
java.lang.Double | 
getSize()  | 
ActionType | 
getType()  | 
java.lang.String | 
getVolumeName()  | 
void | 
setDropletId(java.lang.Integer dropletId)  | 
void | 
setRegionSlug(java.lang.String regionSlug)  | 
void | 
setSize(java.lang.Double size)  | 
void | 
setType(ActionType type)  | 
void | 
setVolumeName(java.lang.String volumeName)  | 
java.lang.String | 
toString()  | 
public VolumeAction()
public VolumeAction(ActionType type, java.lang.Integer dropletId, java.lang.String regionSlug)
type - action type of the volumedropletId - is to attach/detach volume from dropletregionSlug - short name of regionpublic VolumeAction(ActionType type, java.lang.String regionSlug, java.lang.Double size)
type - action type of the volumeregionSlug - short name of regionsize - volume size in GBpublic VolumeAction(ActionType type, java.lang.Integer dropletId, java.lang.String regionSlug, java.lang.String volumeName, java.lang.Double size)
type - action type of the volumedropletId - is to attach/detach volume from dropletregionSlug - short name of regionvolumeName - size - volume size in GBpublic java.lang.String toString()
toString in class java.lang.Objectpublic ActionType getType()
public void setType(ActionType type)
type - the type to setpublic java.lang.Integer getDropletId()
public void setDropletId(java.lang.Integer dropletId)
dropletId - the dropletId to setpublic java.lang.String getRegionSlug()
public void setRegionSlug(java.lang.String regionSlug)
regionSlug - the regionSlug to setpublic java.lang.String getVolumeName()
public void setVolumeName(java.lang.String volumeName)
volumeName - the volumeName to setpublic java.lang.Double getSize()
public void setSize(java.lang.Double size)
size - the size to set
Copyright ©  myjeeva blog, All rights reserved. 
The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons – Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Libraries and code snippets on myjeeva blog has license information.