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