public class VirtualMachineTemplatePersistentDto extends SingleResourceTransportDto implements Serializable
Tier link can be replaced using a Volume link.
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
VirtualMachineTemplatePersistentDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getMediaType() |
String |
getPersistentTemplateName()
Name for the new persistent virtual machine template
|
String |
getPersistentVolumeName()
Name of the new volume to hold the persistent virtual machine template
|
void |
setPersistentTemplateName(String persistentTemplateName) |
void |
setPersistentVolumeName(String persistentVolumeName) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
@NotNull public String getPersistentTemplateName()
public String getPersistentVolumeName()
if is null will be used the value of persistentTemplateName and if the storage link is a volume link will be omitted
public void setPersistentTemplateName(String persistentTemplateName)
public void setPersistentVolumeName(String persistentVolumeName)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.