public class VirtualAppliancePriceDto extends SingleResourceTransportDto
| 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 |
|---|
VirtualAppliancePriceDto()
Instantiates a new virtual appliance price dto.
|
VirtualAppliancePriceDto(BigDecimal costCodeCost,
BigDecimal computeCost,
BigDecimal networkCost,
BigDecimal storageCost,
BigDecimal additionalVolumCost,
BigDecimal antiaffinityCost,
BigDecimal totalCost)
Instantiates a new virtual appliance price dto.
|
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAdditionalVolumCost()
Value for the volume.
|
BigDecimal |
getAntiaffinityCost()
Value for antiaffinity.
|
String |
getBaseMediaType() |
BigDecimal |
getComputeCost()
Value for the CPU, memory.
|
BigDecimal |
getCostCodeCost()
Value for the image being deployed.
|
String |
getMediaType() |
Integer |
getMinimumCharge()
Minimum Charge.
|
BigDecimal |
getMinimumChargePeriod()
Value for minimum charge period.
|
BigDecimal |
getNetworkCost()
Value for public IPs.
|
BigDecimal |
getStandingCharge()
Value for deploy.
|
BigDecimal |
getStorageCost()
Value for the datastore.
|
BigDecimal |
getTotalCost()
Value total.
|
void |
setAdditionalVolumCost(BigDecimal additionalVolumCost)
Sets the additional volume cost.
|
void |
setAntiaffinityCost(BigDecimal antiaffinityCost)
Sets the antiaffinity cost.
|
void |
setComputeCost(BigDecimal computeCost)
Sets the compute cost.
|
void |
setCostCodeCost(BigDecimal costCodeCost)
Sets the cost code cost.
|
void |
setMinimumCharge(Integer minimumCharge)
Sets the minimum charge.
|
void |
setMinimumChargePeriod(BigDecimal minimumChargePeriod)
Sets the minimum charge period.
|
void |
setNetworkCost(BigDecimal networkCost)
Sets the network cost.
|
void |
setStandingCharge(BigDecimal standingCharge)
Sets the standing charge.
|
void |
setStorageCost(BigDecimal storageCost)
Sets the storage cost.
|
void |
setTotalCost(BigDecimal totalCost)
Sets the total cost.
|
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
public VirtualAppliancePriceDto()
public VirtualAppliancePriceDto(BigDecimal costCodeCost, BigDecimal computeCost, BigDecimal networkCost, BigDecimal storageCost, BigDecimal additionalVolumCost, BigDecimal antiaffinityCost, BigDecimal totalCost)
costCodeCost - the cost code costcomputeCost - the compute costnetworkCost - the network coststorageCost - the storage costadditionalVolumCost - the additional volume costantiaffinityCost - the antiaffinity costtotalCost - the total cost@NotNull public BigDecimal getMinimumChargePeriod()
public void setMinimumChargePeriod(BigDecimal minimumChargePeriod)
minimumChargePeriod - the new minimum charge period@NotNull public Integer getMinimumCharge()
public void setMinimumCharge(Integer minimumCharge)
minimumCharge - the new minimum charge@NotNull public BigDecimal getCostCodeCost()
public void setCostCodeCost(BigDecimal costCodeCost)
costCodeCost - the new cost code cost@NotNull public BigDecimal getComputeCost()
public void setComputeCost(BigDecimal computeCost)
computeCost - the new compute cost@NotNull public BigDecimal getNetworkCost()
public void setNetworkCost(BigDecimal networkCost)
networkCost - the new network cost@NotNull public BigDecimal getStorageCost()
public void setStorageCost(BigDecimal storageCost)
storageCost - the new storage cost@NotNull public BigDecimal getAdditionalVolumCost()
public void setAdditionalVolumCost(BigDecimal additionalVolumCost)
additionalVolumCost - the new additional volume cost@NotNull public BigDecimal getStandingCharge()
public void setStandingCharge(BigDecimal standingCharge)
standingCharge - the new standing charge@NotNull public BigDecimal getAntiaffinityCost()
public void setAntiaffinityCost(BigDecimal antiaffinityCost)
antiaffinityCost - the new antiaffinity cost@NotNull public BigDecimal getTotalCost()
public void setTotalCost(BigDecimal totalCost)
totalCost - the new total costpublic String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.