public static final class DescribeResourceUsageTotalRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeResourceUsageTotalRequest.Builder |
billOwnerId(Long billOwnerId)
The ID of the account whose data you want to query.
|
DescribeResourceUsageTotalRequest |
build() |
DescribeResourceUsageTotalRequest.Builder |
endPeriod(String endPeriod)
The end of the time range to query.
|
DescribeResourceUsageTotalRequest.Builder |
periodType(String periodType)
The time granularity at which the data is queried.
|
DescribeResourceUsageTotalRequest.Builder |
resourceType(String resourceType)
The type of the resource plan.
|
DescribeResourceUsageTotalRequest.Builder |
startPeriod(String startPeriod)
The beginning of the time range to query.
|
public DescribeResourceUsageTotalRequest.Builder billOwnerId(Long billOwnerId)
The ID of the account whose data you want to query. If you do not specify this parameter, the data of the current account and its linked accounts is queried. To query the data of a linked account, specify the ID of the linked account. You can specify only one account ID.
example:123745698925000
public DescribeResourceUsageTotalRequest.Builder endPeriod(String endPeriod)
The end of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format. The specified time is excluded from the time range. If you do not specify this parameter, this parameter is set to the current time.
example:2021-01-02 00:00:00
public DescribeResourceUsageTotalRequest.Builder periodType(String periodType)
The time granularity at which the data is queried. Valid values: MONTH, DAY, and HOUR.
This parameter is required.
example:HOUR
public DescribeResourceUsageTotalRequest.Builder resourceType(String resourceType)
The type of the resource plan. Valid values: RI and SCU.
This parameter is required.
example:RI
public DescribeResourceUsageTotalRequest.Builder startPeriod(String startPeriod)
The beginning of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format. The specified time is included in the time range.
This parameter is required.
example:2021-01-01 00:00:00
public DescribeResourceUsageTotalRequest build()
Copyright © 2026. All rights reserved.