public static final class QueryDPUtilizationDetailRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
QueryDPUtilizationDetailRequest |
build() |
QueryDPUtilizationDetailRequest.Builder |
commodityCode(String commodityCode)
The code of the resource, such as ecsRi and scu_bag.
|
QueryDPUtilizationDetailRequest.Builder |
deductedInstanceId(String deductedInstanceId)
The ID of the deducted instance.
|
QueryDPUtilizationDetailRequest.Builder |
endTime(String endTime)
The end of the time range to query.
|
QueryDPUtilizationDetailRequest.Builder |
includeShare(Boolean includeShare)
Specifies whether to query the resource plan usage of linked accounts.
|
QueryDPUtilizationDetailRequest.Builder |
instanceId(String instanceId)
The ID of the instance to query.
|
QueryDPUtilizationDetailRequest.Builder |
instanceSpec(String instanceSpec)
The instance type of the instance.
|
QueryDPUtilizationDetailRequest.Builder |
lastToken(String lastToken)
The token that is used to retrieve the next page of results.
|
QueryDPUtilizationDetailRequest.Builder |
limit(Integer limit)
The number of entries to return on each page.
|
QueryDPUtilizationDetailRequest.Builder |
prodCode(String prodCode)
The code of the service.
|
QueryDPUtilizationDetailRequest.Builder |
startTime(String startTime)
The beginning of the time range to query.
|
public QueryDPUtilizationDetailRequest.Builder commodityCode(String commodityCode)
The code of the resource, such as ecsRi and scu_bag. If this parameter is specified, the ProdCode parameter does not take effect for the request.
example:ecsRi
public QueryDPUtilizationDetailRequest.Builder deductedInstanceId(String deductedInstanceId)
The ID of the deducted instance. If this parameter is not specified, the details of all instances are returned.
example:oss-123123
public QueryDPUtilizationDetailRequest.Builder endTime(String endTime)
The end of the time range to query. Specify the time in the YYYY-MM-DD HH:mm:ss format.
This parameter is required.
example:2019-05-23 12:00:00
public QueryDPUtilizationDetailRequest.Builder includeShare(Boolean includeShare)
Specifies whether to query the resource plan usage of linked accounts. Valid values:
This parameter is required.
example:true
public QueryDPUtilizationDetailRequest.Builder instanceId(String instanceId)
The ID of the instance to query. If this parameter is not specified, the details of all used instances are returned.
example:oss-123123
public QueryDPUtilizationDetailRequest.Builder instanceSpec(String instanceSpec)
The instance type of the instance.
example:Instancetyp
public QueryDPUtilizationDetailRequest.Builder lastToken(String lastToken)
The token that is used to retrieve the next page of results. For the first query, set the value to null. For subsequent queries, set the value to the token that is obtained from the NextToken parameter.
example:CAESF***zNTAw
public QueryDPUtilizationDetailRequest.Builder limit(Integer limit)
The number of entries to return on each page. Default value: 20. Maximum value: 300.
example:20
public QueryDPUtilizationDetailRequest.Builder prodCode(String prodCode)
The code of the service. Example: ecs.
example:oss
public QueryDPUtilizationDetailRequest.Builder startTime(String startTime)
The beginning of the time range to query. Specify the time in the YYYY-MM-DD HH:mm:ss format.
This parameter is required.
example:2019-05-23 12:00:00
public QueryDPUtilizationDetailRequest build()
Copyright © 2026. All rights reserved.