public static final class QueryAccountBillRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
QueryAccountBillRequest.Builder |
billingCycle(String billingCycle)
The billing cycle.
|
QueryAccountBillRequest.Builder |
billingDate(String billingDate)
The billing date.
|
QueryAccountBillRequest.Builder |
billOwnerId(Long billOwnerId)
The ID of the member.
|
QueryAccountBillRequest |
build() |
QueryAccountBillRequest.Builder |
granularity(String granularity)
The granularity at which bills are queried.
|
QueryAccountBillRequest.Builder |
isGroupByProduct(Boolean isGroupByProduct)
Specifies whether to summarize bills based on service codes.
|
QueryAccountBillRequest.Builder |
ownerID(Long ownerID)
OwnerID.
|
QueryAccountBillRequest.Builder |
pageNum(Integer pageNum)
The number of the page to return.
|
QueryAccountBillRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
QueryAccountBillRequest.Builder |
productCode(String productCode)
The code of the service.
|
public QueryAccountBillRequest.Builder billOwnerId(Long billOwnerId)
The ID of the member. If you specify a value for this parameter, you can query the bills of the specified member. If you leave this parameter empty, the bills of the current account are queried by default.
example:122
public QueryAccountBillRequest.Builder billingCycle(String billingCycle)
The billing cycle. Format: YYYY-MM.
This parameter is required.
example:2018-07
public QueryAccountBillRequest.Builder billingDate(String billingDate)
The billing date. This parameter is required only if the Granularity parameter is set to DAILY. Format: YYYY-MM-DD.
example:2021-06-01
public QueryAccountBillRequest.Builder granularity(String granularity)
The granularity at which bills are queried. Valid values:
You must set the BillingDate parameter before you can set the Granularity parameter to DAILY.
example:Monthly
public QueryAccountBillRequest.Builder isGroupByProduct(Boolean isGroupByProduct)
Specifies whether to summarize bills based on service codes. Valid values:
Default value: false.
example:false
public QueryAccountBillRequest.Builder ownerID(Long ownerID)
public QueryAccountBillRequest.Builder pageNum(Integer pageNum)
The number of the page to return. Default value: 1.
example:1
public QueryAccountBillRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Default value: 20. Maximum value: 300.
example:20
public QueryAccountBillRequest.Builder productCode(String productCode)
The code of the service.
example:rds
public QueryAccountBillRequest build()
Copyright © 2026. All rights reserved.