public class VolumeAction extends Object
| Constructor and Description |
|---|
VolumeAction()
Constructor
|
VolumeAction(ActionType type,
Integer dropletId,
String regionSlug)
Constructor
|
VolumeAction(ActionType type,
Integer dropletId,
String regionSlug,
String volumeName,
Double size)
Constructor
|
VolumeAction(ActionType type,
String regionSlug,
Double size)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDropletId() |
String |
getRegionSlug() |
Double |
getSize() |
ActionType |
getType() |
String |
getVolumeName() |
void |
setDropletId(Integer dropletId) |
void |
setRegionSlug(String regionSlug) |
void |
setSize(Double size) |
void |
setType(ActionType type) |
void |
setVolumeName(String volumeName) |
String |
toString() |
public VolumeAction()
public VolumeAction(ActionType type, Integer dropletId, String regionSlug)
type - action type of the volumedropletId - is to attach/detach volume from dropletregionSlug - short name of regionpublic VolumeAction(ActionType type, String regionSlug, Double size)
type - action type of the volumeregionSlug - short name of regionsize - volume size in GBpublic VolumeAction(ActionType type, Integer dropletId, String regionSlug, String volumeName, Double size)
type - action type of the volumedropletId - is to attach/detach volume from dropletregionSlug - short name of regionvolumeName - size - volume size in GBpublic ActionType getType()
public void setType(ActionType type)
type - the type to setpublic Integer getDropletId()
public void setDropletId(Integer dropletId)
dropletId - the dropletId to setpublic String getRegionSlug()
public void setRegionSlug(String regionSlug)
regionSlug - the regionSlug to setpublic String getVolumeName()
public void setVolumeName(String volumeName)
volumeName - the volumeName to setpublic Double getSize()
public void setSize(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.