public static final class QuerySavingsPlansInstanceResponseBody.Items.Builder extends Object
public QuerySavingsPlansInstanceResponseBody.Items.Builder allocationStatus(String allocationStatus)
The allocation status. Valid values:
unallocated
public QuerySavingsPlansInstanceResponseBody.Items.Builder commodityCode(String commodityCode)
public QuerySavingsPlansInstanceResponseBody.Items.Builder currency(String currency)
The currency. Valid values: CNY and USD.
example:CNY
public QuerySavingsPlansInstanceResponseBody.Items.Builder currentPoolValue(String currentPoolValue)
public QuerySavingsPlansInstanceResponseBody.Items.Builder cycle(String cycle)
public QuerySavingsPlansInstanceResponseBody.Items.Builder deductCycleType(String deductCycleType)
public QuerySavingsPlansInstanceResponseBody.Items.Builder endTime(String endTime)
The time when the instance expires. The time is in the format of yyyy-MM-dd HH:mm:ss.
example:2021-01-01 00:00:00
public QuerySavingsPlansInstanceResponseBody.Items.Builder endTimestamp(Long endTimestamp)
public QuerySavingsPlansInstanceResponseBody.Items.Builder instanceFamily(String instanceFamily)
The instance family information. For an instance of the Elastic Compute Service (ECS) compute type, the value indicates the ECS instance family or the ECS instance family package.
example:ecs.g6
public QuerySavingsPlansInstanceResponseBody.Items.Builder instanceId(String instanceId)
The ID of the savings plan instance.
example:spn-xxxxxxxx
public QuerySavingsPlansInstanceResponseBody.Items.Builder lastBillTotalUsage(String lastBillTotalUsage)
public QuerySavingsPlansInstanceResponseBody.Items.Builder lastBillUtilization(String lastBillUtilization)
public QuerySavingsPlansInstanceResponseBody.Items.Builder payMode(String payMode)
The payment type. Valid values:
total
public QuerySavingsPlansInstanceResponseBody.Items.Builder poolValue(String poolValue)
The commitment.
example:1.00
public QuerySavingsPlansInstanceResponseBody.Items.Builder prepayFee(String prepayFee)
The prepaid amount.
example:8760.00
public QuerySavingsPlansInstanceResponseBody.Items.Builder region(String region)
The region.
example:cn-zhangjiakou-na62-a01
public QuerySavingsPlansInstanceResponseBody.Items.Builder restPoolValue(String restPoolValue)
public QuerySavingsPlansInstanceResponseBody.Items.Builder savingsType(String savingsType)
The type of the savings plan. Valid values:
ECS
public QuerySavingsPlansInstanceResponseBody.Items.Builder startTime(String startTime)
The time when the instance takes effect. The time is in the format of yyyy-MM-dd HH:mm:ss.
example:2020-01-01 00:00:00
public QuerySavingsPlansInstanceResponseBody.Items.Builder startTimestamp(Long startTimestamp)
public QuerySavingsPlansInstanceResponseBody.Items.Builder status(String status)
The status of the instance. Valid values:
NORMAL
public QuerySavingsPlansInstanceResponseBody.Items.Builder tags(List<QuerySavingsPlansInstanceResponseBody.Tags> tags)
The details about the tags.
public QuerySavingsPlansInstanceResponseBody.Items.Builder totalSave(String totalSave)
The total amount that is saved.
example:20.00
public QuerySavingsPlansInstanceResponseBody.Items.Builder utilization(String utilization)
The total usage.
example:1.0
public QuerySavingsPlansInstanceResponseBody.Items build()
Copyright © 2026. All rights reserved.