public static final class DescribeInstanceBillResponseBody.Items.Builder extends Object
public DescribeInstanceBillResponseBody.Items.Builder adjustAmount(Float adjustAmount)
The amount deducted with credit refund.
example:0
public DescribeInstanceBillResponseBody.Items.Builder afterDiscountAmount(Float afterDiscountAmount)
public DescribeInstanceBillResponseBody.Items.Builder billAccountID(String billAccountID)
The ID of the account to which the bill belongs.
example:122
public DescribeInstanceBillResponseBody.Items.Builder billAccountName(String billAccountName)
The name of the account to which the bill belongs.
example:public DescribeInstanceBillResponseBody.Items.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-20
public DescribeInstanceBillResponseBody.Items.Builder billingItem(String billingItem)
The billable item. A value is returned only if the IsBillingItem parameter is set to true.
example:Bandwidth
public DescribeInstanceBillResponseBody.Items.Builder billingItemCode(String billingItemCode)
The code of the billable item.
example:disk
public DescribeInstanceBillResponseBody.Items.Builder billingType(String billingType)
The billing method.
example:Other
public DescribeInstanceBillResponseBody.Items.Builder bizType(String bizType)
The type of business.
example:trusteeship
public DescribeInstanceBillResponseBody.Items.Builder cashAmount(Float cashAmount)
The amount paid in cash. The amount deducted with credit refund is not included.
example:0
public DescribeInstanceBillResponseBody.Items.Builder commodityCode(String commodityCode)
The code of the commodity. The code is the same as that in Cost Center.
example:rds
public DescribeInstanceBillResponseBody.Items.Builder costUnit(String costUnit)
The cost center.
example:Not allocated
public DescribeInstanceBillResponseBody.Items.Builder currency(String currency)
The type of currency. Valid values:
CNY
public DescribeInstanceBillResponseBody.Items.Builder deductedByCashCoupons(Float deductedByCashCoupons)
The amount deducted with vouchers.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder deductedByCoupons(Float deductedByCoupons)
The amount deducted with coupons.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder deductedByPrepaidCard(Float deductedByPrepaidCard)
The amount deducted with prepaid cards.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder deductedByResourcePackage(String deductedByResourcePackage)
The amount deducted with resource plans. This parameter is valid only when the isBillingItem parameter is set to true.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder instanceConfig(String instanceConfig)
The configurations of the instance.
example:CPU:12
public DescribeInstanceBillResponseBody.Items.Builder instanceID(String instanceID)
The ID of the instance.
example:i-dadada
public DescribeInstanceBillResponseBody.Items.Builder instanceSpec(String instanceSpec)
The type of the instance.
example:ecs.sn1ne.3xlarge
public DescribeInstanceBillResponseBody.Items.Builder internetIP(String internetIP)
The public IP address.
example:34.xx.x.x
public DescribeInstanceBillResponseBody.Items.Builder intranetIP(String intranetIP)
The private IP address.
example:192.xx.xx.xx
public DescribeInstanceBillResponseBody.Items.Builder invoiceDiscount(Float invoiceDiscount)
The discount amount.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder item(String item)
The type of the bill.
PayAsYouGoBill
public DescribeInstanceBillResponseBody.Items.Builder itemName(String itemName)
The name of the project.
example:iZ28bycvyb4Z
public DescribeInstanceBillResponseBody.Items.Builder listPrice(String listPrice)
The unit price of the service. This parameter is valid only when the isBillingItem parameter is set to true.
example:100
public DescribeInstanceBillResponseBody.Items.Builder listPriceUnit(String listPriceUnit)
The unit of the unit price. This parameter is valid only when the isBillingItem parameter is set to true.
example:CNY
public DescribeInstanceBillResponseBody.Items.Builder nickName(String nickName)
The name of the instance.
example:test
public DescribeInstanceBillResponseBody.Items.Builder outstandingAmount(Float outstandingAmount)
The unsettled amount.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder ownerID(String ownerID)
The ID of the account that owns the resource. This parameter is returned in multi-account payment scenario.
example:123
public DescribeInstanceBillResponseBody.Items.Builder paymentAmount(Float paymentAmount)
The amount paid in cash. The amount deducted with credit refund is not included.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder pipCode(String pipCode)
The code of the service. The code is the same as that in Cost Center.
example:rds
public DescribeInstanceBillResponseBody.Items.Builder pretaxAmount(Float pretaxAmount)
The pretax amount.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder pretaxGrossAmount(Float pretaxGrossAmount)
The pretax gross amount.
example:0.1
public DescribeInstanceBillResponseBody.Items.Builder productCode(String productCode)
The code of the service.
example:rds
public DescribeInstanceBillResponseBody.Items.Builder productDetail(String productDetail)
The details of the service.
example:ApsaraDB RDS
public DescribeInstanceBillResponseBody.Items.Builder productName(String productName)
The name of the service.
example:ApsaraDB RDS
public DescribeInstanceBillResponseBody.Items.Builder productType(String productType)
The type of the service.
example:rds
public DescribeInstanceBillResponseBody.Items.Builder region(String region)
The ID of the region.
example:China (Hangzhou)
public DescribeInstanceBillResponseBody.Items.Builder resourceGroup(String resourceGroup)
The ID of the resource group.
example:Default resource group
public DescribeInstanceBillResponseBody.Items.Builder servicePeriod(String servicePeriod)
The service duration.
example:3600
public DescribeInstanceBillResponseBody.Items.Builder servicePeriodUnit(String servicePeriodUnit)
The unit of the service duration.
example:Second
public DescribeInstanceBillResponseBody.Items.Builder subscriptionType(String subscriptionType)
The billing method. Valid values:
PayAsYouGo
public DescribeInstanceBillResponseBody.Items.Builder tag(String tag)
The tag of the resource.
example:key:testKey value:testValue; key:testKey1 value:testValues1
public DescribeInstanceBillResponseBody.Items.Builder usage(String usage)
The usage of the service. This parameter is valid only when the isBillingItem parameter is set to true. The usage is the total usage in all bills in the billing cycle, not the amount that you purchase. For example, if 1 GB of storage is used and bills are generated every hour, the usage is 1 GB per hour. In this case, the usage is 24 GB per day.
example:100
public DescribeInstanceBillResponseBody.Items.Builder usageUnit(String usageUnit)
The unit of usage. This parameter is valid only when the isBillingItem parameter is set to true.
example:GB
public DescribeInstanceBillResponseBody.Items.Builder zone(String zone)
The ID of the zone.
example:Hangzhou Zone B
public DescribeInstanceBillResponseBody.Items build()
Copyright © 2026. All rights reserved.