public static final class DescribeInstanceBillRequest.Builder extends Object
public DescribeInstanceBillRequest.Builder billOwnerId(Long billOwnerId)
The ID of the member. If you specify this parameter, the bills of the member are queried. If you do not specify this parameter, the bills of the current account are queried by default.
example:122
public DescribeInstanceBillRequest.Builder billingCycle(String billingCycle)
The billing cycle. Specify the parameter in the YYYY-MM format. Only the latest 18 month billing cycle is supported.
This parameter is required.
example:2020-03
public DescribeInstanceBillRequest.Builder billingDate(String billingDate)
The billing date. This parameter is required only when the Granularity parameter is set to DAILY. Format: YYYY-MM-DD.
example:2020-03-02
public DescribeInstanceBillRequest.Builder granularity(String granularity)
The granularity at which bills are queried. Valid values:
The BillingDate parameter is required if you set the Granularity parameter to DAILY.
example:MONTHLY
public DescribeInstanceBillRequest.Builder instanceID(String instanceID)
The ID of the instance.
example:abc
public DescribeInstanceBillRequest.Builder isBillingItem(Boolean isBillingItem)
Specifies whether to query data by billable items. Valid values:
Default value: false.
example:false
public DescribeInstanceBillRequest.Builder isHideZeroCharge(Boolean isHideZeroCharge)
Specifies whether to filter bills if both the pretax gross amount and pretax amount are 0. Valid values:
false
public DescribeInstanceBillRequest.Builder maxResults(Integer maxResults)
The maximum number of entries to return. Default value: 20. Maximum value: 300.
example:20
public DescribeInstanceBillRequest.Builder nextToken(String nextToken)
The token that is used to indicate the position where the results for the current call start. The parameter must be left empty or set to the value of the NextToken parameter that is returned from the last call. Otherwise, an error is returned. If the parameter is left empty, data is queried from the first item.
example:CAESEgoQCg4KCm
public DescribeInstanceBillRequest.Builder ownerId(Long ownerId)
public DescribeInstanceBillRequest.Builder pipCode(String pipCode)
The code of the service. The code is the same as that in Cost Center.
example:rds
public DescribeInstanceBillRequest.Builder productCode(String productCode)
The code of the service.
example:rds
public DescribeInstanceBillRequest.Builder productType(String productType)
The type of the service.
example:rds
public DescribeInstanceBillRequest.Builder subscriptionType(String subscriptionType)
The billing method. Valid values:
PayAsYouGo
public DescribeInstanceBillRequest build()
Copyright © 2026. All rights reserved.