public static final class DescribeSavingsPlansUsageTotalRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeSavingsPlansUsageTotalRequest.Builder |
billOwnerId(Long billOwnerId)
The ID of the account for which you want to query usage summary.
|
DescribeSavingsPlansUsageTotalRequest |
build() |
DescribeSavingsPlansUsageTotalRequest.Builder |
endPeriod(String endPeriod)
The end of the time range to query.
|
DescribeSavingsPlansUsageTotalRequest.Builder |
filterParam(DescribeSavingsPlansUsageTotalRequest.FilterParam filterParam)
FilterParam.
|
DescribeSavingsPlansUsageTotalRequest.Builder |
periodType(String periodType)
The time granularity at which usage summary are queried.
|
DescribeSavingsPlansUsageTotalRequest.Builder |
startPeriod(String startPeriod)
The beginning of the time range to query.
|
public DescribeSavingsPlansUsageTotalRequest.Builder billOwnerId(Long billOwnerId)
The ID of the account for which you want to query usage summary. 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 DescribeSavingsPlansUsageTotalRequest.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 DescribeSavingsPlansUsageTotalRequest.Builder filterParam(DescribeSavingsPlansUsageTotalRequest.FilterParam filterParam)
public DescribeSavingsPlansUsageTotalRequest.Builder periodType(String periodType)
The time granularity at which usage summary are queried. Valid values: MONTH, DAY, and HOUR.
This parameter is required.
example:HOUR
public DescribeSavingsPlansUsageTotalRequest.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 DescribeSavingsPlansUsageTotalRequest build()
Copyright © 2026. All rights reserved.