public class BillDetailComponent extends AbstractModel
Constructor and Description |
---|
BillDetailComponent() |
BillDetailComponent(BillDetailComponent source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBlendedDiscount()
Get The blended discount multiplier that combines the official website discount, reserved instance discount, and savings plan discount.
|
String |
getCashPayAmount()
Get Amount paid in cash
|
String |
getComponentCode()
Get Component code
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getComponentCodeName()
Get Component type: type of a resource component, e.g.
|
String |
getContractPrice()
Get Contract price
|
String |
getCost()
Get Original price of the component
|
String |
getDiscount()
Get Discount rate
|
String |
getIncentivePayAmount()
Get Amount paid in trial credit
|
String |
getInstanceType()
Get The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction.
|
String |
getItemCode()
Get Component type code
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getItemCodeName()
Get Component name: name of a resource component, e.g.
|
String |
getOriginalCostWithRI()
Get The amount deducted by a reserved instance based on the original component cost.
|
String |
getOriginalCostWithSP()
Get The amount deducted by a savings plan based on the original component cost.
|
String |
getPriceUnit()
Get Price unit
|
String |
getRealCost()
Get Total discounted price
|
String |
getReduceType()
Get Offer type
|
String |
getRiTimeSpan()
Get The usage duration deducted by a reserved instance.
|
String |
getSinglePrice()
Get Component published price: original price of a resource component with the original granularity
|
String |
getSPDeduction()
Get The savings plan deduction amount.
|
String |
getSPDeductionRate()
Get The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
|
String |
getSpecifiedPrice()
Get Specified price of the component
|
String |
getTimeSpan()
Get Usage period
|
String |
getTimeUnitName()
Get Time unit
|
String |
getUsedAmount()
Get Component usage
|
String |
getUsedAmountUnit()
Get Component usage unit
|
String |
getVoucherPayAmount()
Get Amount paid in voucher
|
void |
setBlendedDiscount(String BlendedDiscount)
Set The blended discount multiplier that combines the official website discount, reserved instance discount, and savings plan discount.
|
void |
setCashPayAmount(String CashPayAmount)
Set Amount paid in cash
|
void |
setComponentCode(String ComponentCode)
Set Component code
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setComponentCodeName(String ComponentCodeName)
Set Component type: type of a resource component, e.g.
|
void |
setContractPrice(String ContractPrice)
Set Contract price
|
void |
setCost(String Cost)
Set Original price of the component
|
void |
setDiscount(String Discount)
Set Discount rate
|
void |
setIncentivePayAmount(String IncentivePayAmount)
Set Amount paid in trial credit
|
void |
setInstanceType(String InstanceType)
Set The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction.
|
void |
setItemCode(String ItemCode)
Set Component type code
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setItemCodeName(String ItemCodeName)
Set Component name: name of a resource component, e.g.
|
void |
setOriginalCostWithRI(String OriginalCostWithRI)
Set The amount deducted by a reserved instance based on the original component cost.
|
void |
setOriginalCostWithSP(String OriginalCostWithSP)
Set The amount deducted by a savings plan based on the original component cost.
|
void |
setPriceUnit(String PriceUnit)
Set Price unit
|
void |
setRealCost(String RealCost)
Set Total discounted price
|
void |
setReduceType(String ReduceType)
Set Offer type
|
void |
setRiTimeSpan(String RiTimeSpan)
Set The usage duration deducted by a reserved instance.
|
void |
setSinglePrice(String SinglePrice)
Set Component published price: original price of a resource component with the original granularity
|
void |
setSPDeduction(String SPDeduction)
Set The savings plan deduction amount.
|
void |
setSPDeductionRate(String SPDeductionRate)
Set The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
|
void |
setSpecifiedPrice(String SpecifiedPrice)
Set Specified price of the component
|
void |
setTimeSpan(String TimeSpan)
Set Usage period
|
void |
setTimeUnitName(String TimeUnitName)
Set Time unit
|
void |
setUsedAmount(String UsedAmount)
Set Component usage
|
void |
setUsedAmountUnit(String UsedAmountUnit)
Set Component usage unit
|
void |
setVoucherPayAmount(String VoucherPayAmount)
Set Amount paid in voucher
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BillDetailComponent()
public BillDetailComponent(BillDetailComponent source)
public String getComponentCodeName()
public void setComponentCodeName(String ComponentCodeName)
ComponentCodeName
- Component type: type of a resource component, e.g. memory, disk, etc.public String getItemCodeName()
public void setItemCodeName(String ItemCodeName)
ItemCodeName
- Component name: name of a resource component, e.g. TencentDB for MySQL-memorypublic String getSinglePrice()
public void setSinglePrice(String SinglePrice)
SinglePrice
- Component published price: original price of a resource component with the original granularitypublic String getSpecifiedPrice()
public void setSpecifiedPrice(String SpecifiedPrice)
SpecifiedPrice
- Specified price of the componentpublic String getPriceUnit()
public void setPriceUnit(String PriceUnit)
PriceUnit
- Price unitpublic String getUsedAmount()
public void setUsedAmount(String UsedAmount)
UsedAmount
- Component usagepublic String getUsedAmountUnit()
public void setUsedAmountUnit(String UsedAmountUnit)
UsedAmountUnit
- Component usage unitpublic String getTimeSpan()
public void setTimeSpan(String TimeSpan)
TimeSpan
- Usage periodpublic String getTimeUnitName()
public void setTimeUnitName(String TimeUnitName)
TimeUnitName
- Time unitpublic String getCost()
public void setCost(String Cost)
Cost
- Original price of the componentpublic String getDiscount()
public void setDiscount(String Discount)
Discount
- Discount ratepublic String getReduceType()
public void setReduceType(String ReduceType)
ReduceType
- Offer typepublic String getRealCost()
public void setRealCost(String RealCost)
RealCost
- Total discounted pricepublic String getVoucherPayAmount()
public void setVoucherPayAmount(String VoucherPayAmount)
VoucherPayAmount
- Amount paid in voucherpublic String getCashPayAmount()
public void setCashPayAmount(String CashPayAmount)
CashPayAmount
- Amount paid in cashpublic String getIncentivePayAmount()
public void setIncentivePayAmount(String IncentivePayAmount)
IncentivePayAmount
- Amount paid in trial creditpublic String getItemCode()
public void setItemCode(String ItemCode)
ItemCode
- Component type code
Note: this field may return `null`, indicating that no valid values can be obtained.public String getComponentCode()
public void setComponentCode(String ComponentCode)
ComponentCode
- Component code
Note: this field may return `null`, indicating that no valid values can be obtained.public String getContractPrice()
public void setContractPrice(String ContractPrice)
ContractPrice
- Contract pricepublic String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction. Valid values:
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRiTimeSpan()
public void setRiTimeSpan(String RiTimeSpan)
RiTimeSpan
- The usage duration deducted by a reserved instance. The unit of measurement for deduction is the same as that for usage duration.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getOriginalCostWithRI()
public void setOriginalCostWithRI(String OriginalCostWithRI)
OriginalCostWithRI
- The amount deducted by a reserved instance based on the original component cost.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSPDeductionRate()
public void setSPDeductionRate(String SPDeductionRate)
SPDeductionRate
- The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSPDeduction()
public void setSPDeduction(String SPDeduction)
SPDeduction
- The savings plan deduction amount.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getOriginalCostWithSP()
public void setOriginalCostWithSP(String OriginalCostWithSP)
OriginalCostWithSP
- The amount deducted by a savings plan based on the original component cost.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getBlendedDiscount()
public void setBlendedDiscount(String BlendedDiscount)
BlendedDiscount
- The blended discount multiplier that combines the official website discount, reserved instance discount, and savings plan discount. If no reserved instance and savings plan discounts are available, the blended discount multiplier equals the discount multiplier.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.