public static final class GetPayAsYouGoPriceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetPayAsYouGoPriceRequest |
build() |
GetPayAsYouGoPriceRequest.Builder |
moduleList(List<GetPayAsYouGoPriceRequest.ModuleList> moduleList)
The details of pricing modules.
|
GetPayAsYouGoPriceRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
GetPayAsYouGoPriceRequest.Builder |
productCode(String productCode)
The code of the service.
|
GetPayAsYouGoPriceRequest.Builder |
productType(String productType)
The type of the service.
|
GetPayAsYouGoPriceRequest.Builder |
region(String region)
The ID of the region in which the instance resides.
|
GetPayAsYouGoPriceRequest.Builder |
subscriptionType(String subscriptionType)
The billing method.
|
public GetPayAsYouGoPriceRequest.Builder moduleList(List<GetPayAsYouGoPriceRequest.ModuleList> moduleList)
The details of pricing modules.
This parameter is required.
public GetPayAsYouGoPriceRequest.Builder ownerId(Long ownerId)
public GetPayAsYouGoPriceRequest.Builder productCode(String productCode)
The code of the service.
This parameter is required.
example:ecs
public GetPayAsYouGoPriceRequest.Builder productType(String productType)
The type of the service.
example:ecs
public GetPayAsYouGoPriceRequest.Builder region(String region)
The ID of the region in which the instance resides.
example:cn-hangzhou
public GetPayAsYouGoPriceRequest.Builder subscriptionType(String subscriptionType)
The billing method. Set the value to PayAsYouGo.
This parameter is required.
example:PayAsYouGo
public GetPayAsYouGoPriceRequest build()
Copyright © 2026. All rights reserved.