public static final class QuerySavingsPlansDiscountResponseBody.Items.Builder extends Object
public QuerySavingsPlansDiscountResponseBody.Items.Builder commodityName(String commodityName)
The details of the service.
example:Pay-as-you-go Elastic Compute Service (ECS) instance
public QuerySavingsPlansDiscountResponseBody.Items.Builder contractDiscountRate(String contractDiscountRate)
The contracted discount.
example:0.85
public QuerySavingsPlansDiscountResponseBody.Items.Builder cycle(String cycle)
The cycle based on which queries were performed.
example:1:Year
public QuerySavingsPlansDiscountResponseBody.Items.Builder discountRate(String discountRate)
The discount provided by the official website.
example:0.85
public QuerySavingsPlansDiscountResponseBody.Items.Builder moduleName(String moduleName)
The name of the pricing module.
example:Instance
public QuerySavingsPlansDiscountResponseBody.Items.Builder payMode(String payMode)
The payment mode. Valid values:
total
public QuerySavingsPlansDiscountResponseBody.Items.Builder region(String region)
The ID of the region.
example:cn-zhangjiakou-na62-a01
public QuerySavingsPlansDiscountResponseBody.Items.Builder regionCode(String regionCode)
The region ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the region ID of the instance.
example:cn-hangzhou
public QuerySavingsPlansDiscountResponseBody.Items.Builder spec(String spec)
The type of the resource.
example:ecs.g6
public QuerySavingsPlansDiscountResponseBody.Items.Builder spnType(String spnType)
The type of the savings plan.
example:universal
public QuerySavingsPlansDiscountResponseBody.Items build()
Copyright © 2026. All rights reserved.