public static final class QueryInstanceBillResponseBody.Item.Builder extends Object
public QueryInstanceBillResponseBody.Item.Builder adjustAmount(Float adjustAmount)
The amount deducted by using credit refunds.
example:0
public QueryInstanceBillResponseBody.Item.Builder billingDate(String billingDate)
The billing date. This parameter is returned only if the Granularity parameter is set to DAILY. Format: YYYY-MM-DD.
example:2020-03
public QueryInstanceBillResponseBody.Item.Builder billingItem(String billingItem)
The billable item. This parameter is returned only if the IsBillingItem parameter is set to true.
example:Other
public QueryInstanceBillResponseBody.Item.Builder billingType(String billingType)
The billing type.
example:Other
public QueryInstanceBillResponseBody.Item.Builder cashAmount(Float cashAmount)
The amount paid in cash. The amount that was deducted by using credit refunds is not included.
example:0
public QueryInstanceBillResponseBody.Item.Builder commodityCode(String commodityCode)
The code of the commodity. The commodity code is the same as that displayed in User Center.
example:rds
public QueryInstanceBillResponseBody.Item.Builder costUnit(String costUnit)
The cost center.
example:Not allocated
public QueryInstanceBillResponseBody.Item.Builder currency(String currency)
The type of the currency. Valid values:
CNY
public QueryInstanceBillResponseBody.Item.Builder deductedByCashCoupons(Float deductedByCashCoupons)
The amount deducted by using vouchers.
example:0
public QueryInstanceBillResponseBody.Item.Builder deductedByCoupons(Float deductedByCoupons)
The amount deducted by using coupons.
example:0
public QueryInstanceBillResponseBody.Item.Builder deductedByPrepaidCard(Float deductedByPrepaidCard)
The amount deducted by using prepaid cards.
example:0
public QueryInstanceBillResponseBody.Item.Builder deductedByResourcePackage(String deductedByResourcePackage)
The amount deducted by using resource plans.
example:NULL
public QueryInstanceBillResponseBody.Item.Builder instanceConfig(String instanceConfig)
The configurations of the instance.
example:CPU:12
public QueryInstanceBillResponseBody.Item.Builder instanceID(String instanceID)
The ID of the instance.
example:i-kjhdskjgshfdlkjfdh
public QueryInstanceBillResponseBody.Item.Builder instanceSpec(String instanceSpec)
The instance type of the instance.
example:ecs.sn1ne.3xlarge
public QueryInstanceBillResponseBody.Item.Builder internetIP(String internetIP)
The public IP address.
example:34.xx.x.x
public QueryInstanceBillResponseBody.Item.Builder intranetIP(String intranetIP)
The private IP address.
example:192.xx.xx.xx
public QueryInstanceBillResponseBody.Item.Builder invoiceDiscount(Float invoiceDiscount)
The discount amount.
example:0
public QueryInstanceBillResponseBody.Item.Builder item(String item)
The type of the bill.
PayAsYouGoBill
public QueryInstanceBillResponseBody.Item.Builder listPrice(String listPrice)
The unit price. This parameter is returned only if the isBillingItem parameter is set to true.
example:100
public QueryInstanceBillResponseBody.Item.Builder listPriceUnit(String listPriceUnit)
The unit of the unit price. This parameter is returned only if the isBillingItem parameter is set to true.
example:CNY
public QueryInstanceBillResponseBody.Item.Builder nickName(String nickName)
The name of the instance.
example:test
public QueryInstanceBillResponseBody.Item.Builder outstandingAmount(Float outstandingAmount)
The unsettled amount.
example:0
public QueryInstanceBillResponseBody.Item.Builder ownerID(String ownerID)
The ID of the member account. This parameter is returned in a multi-account payment scenario.
example:169***013
public QueryInstanceBillResponseBody.Item.Builder paymentAmount(Float paymentAmount)
The amount paid in cash.
example:0
public QueryInstanceBillResponseBody.Item.Builder pipCode(String pipCode)
The code of the service. The service code is the same as that displayed in User Center.
example:rds
public QueryInstanceBillResponseBody.Item.Builder pretaxAmount(Float pretaxAmount)
The pretax amount.
example:0
public QueryInstanceBillResponseBody.Item.Builder pretaxGrossAmount(Float pretaxGrossAmount)
The pretax gross amount.
example:0
public QueryInstanceBillResponseBody.Item.Builder productCode(String productCode)
The code of the service.
example:rds
public QueryInstanceBillResponseBody.Item.Builder productDetail(String productDetail)
The details of the service.
example:ApsaraDB RDS
public QueryInstanceBillResponseBody.Item.Builder productName(String productName)
The name of the service.
example:ApsaraDB RDS
public QueryInstanceBillResponseBody.Item.Builder productType(String productType)
The type of the service.
example:rds
public QueryInstanceBillResponseBody.Item.Builder region(String region)
The region.
example:China (Hangzhou)
public QueryInstanceBillResponseBody.Item.Builder resourceGroup(String resourceGroup)
The resource group.
example:Default resource group
public QueryInstanceBillResponseBody.Item.Builder servicePeriod(String servicePeriod)
The validity period.
example:10
public QueryInstanceBillResponseBody.Item.Builder servicePeriodUnit(String servicePeriodUnit)
The unit of the validity period.
example:Seconds
public QueryInstanceBillResponseBody.Item.Builder subscriptionType(String subscriptionType)
The billing method. Valid values:
**
****This parameter is returned together with the ProductCode parameter.
example:PayAsYouGo
public QueryInstanceBillResponseBody.Item.Builder tag(String tag)
The tag.
example:tag
public QueryInstanceBillResponseBody.Item.Builder usage(String usage)
The usage of the billable item. This parameter is returned only if the isBillingItem parameter is set to true.
example:100
public QueryInstanceBillResponseBody.Item.Builder usageUnit(String usageUnit)
The unit of usage. This parameter is returned only if the isBillingItem parameter is set to true.
example:GB
public QueryInstanceBillResponseBody.Item.Builder zone(String zone)
The ID of the zone.
example:cn-hangzhou-h
public QueryInstanceBillResponseBody.Item build()
Copyright © 2026. All rights reserved.