public static final class GetPayAsYouGoPriceRequest.ModuleList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetPayAsYouGoPriceRequest.ModuleList |
build() |
GetPayAsYouGoPriceRequest.ModuleList.Builder |
config(String config)
The configuration of the Nth pricing module.
|
GetPayAsYouGoPriceRequest.ModuleList.Builder |
moduleCode(String moduleCode)
The code of the Nth pricing module.
|
GetPayAsYouGoPriceRequest.ModuleList.Builder |
priceType(String priceType)
The price type of the Nth pricing module.
|
public GetPayAsYouGoPriceRequest.ModuleList.Builder config(String config)
The configuration of the Nth pricing module. Valid values of N: 1 to 50. Format: AA:aa,BB:bb. The values of AA and BB are the property IDs of the pricing module. The values of aa and bb are the property values of the pricing module.
You can call the DescribePricingModule operation to obtain the configuration parameters of the pricing module.
This parameter is required.
example:InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux
public GetPayAsYouGoPriceRequest.ModuleList.Builder moduleCode(String moduleCode)
The code of the Nth pricing module.
You can call the DescribePricingModule operation to obtain the module code.
This parameter is required.
example:InstanceType
public GetPayAsYouGoPriceRequest.ModuleList.Builder priceType(String priceType)
The price type of the Nth pricing module. Valid values:
You can call the DescribePricingModule operation to obtain the configuration parameters of the pricing module.
This parameter is required.
example:Hour
public GetPayAsYouGoPriceRequest.ModuleList build()
Copyright © 2026. All rights reserved.