public static final class DescribeSavingsPlansUsageDetailResponseBody.Items.Builder extends Object
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder currency(String currency)
The currency.
example:CNY
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder deductValue(Float deductValue)
The used amount of the savings plan.
example:3.94
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder endPeriod(String endPeriod)
The end time.
example:2021-08-09 00:00:00
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder instanceId(String instanceId)
The ID of the instance.
example:spn-a1fhs54c243hP22
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder poolValue(Float poolValue)
The total amount of the savings plan.
example:29.84
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder postpaidCost(Float postpaidCost)
The pay-as-you-go cost.
example:4.2
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder savedCost(Float savedCost)
The amount that is saved.
example:0.08
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder startPeriod(String startPeriod)
The start time.
example:2021-08-01 00:00:00
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder status(String status)
The status of the instance.
A value of -1 indicates that the payment is overdue. A value of 1 indicates that the instance is active.
example:-1
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder type(String type)
The type of the savings plan. Valid values: universal and ECS compute.
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder usagePercentage(Float usagePercentage)
The usage.
example:0.9
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder userId(Long userId)
The ID of the account.
example:123745698925000
public DescribeSavingsPlansUsageDetailResponseBody.Items.Builder userName(String userName)
The username of the account.
example:public DescribeSavingsPlansUsageDetailResponseBody.Items build()
Copyright © 2026. All rights reserved.