public static final class QueryResourcePackageInstancesResponseBody.Instance.Builder extends Object
public QueryResourcePackageInstancesResponseBody.Instance.Builder applicableProducts(QueryResourcePackageInstancesResponseBody.ApplicableProducts applicableProducts)
The services to which the resource plan is applicable.
public QueryResourcePackageInstancesResponseBody.Instance.Builder commodityCode(String commodityCode)
The commodity code.
example:rds
public QueryResourcePackageInstancesResponseBody.Instance.Builder deductType(String deductType)
The deduction type. Example: Absolute.
example:Absolute
public QueryResourcePackageInstancesResponseBody.Instance.Builder effectiveTime(String effectiveTime)
The time when the resource plan took effect.
example:2018-09-12T09:51:56Z
public QueryResourcePackageInstancesResponseBody.Instance.Builder expiryTime(String expiryTime)
The time when the resource plan expired.
example:2019-03-12T16:00:00Z
public QueryResourcePackageInstancesResponseBody.Instance.Builder instanceId(String instanceId)
The ID of the instance.
example:OSSBAG-cn-v0h1s4hma01
public QueryResourcePackageInstancesResponseBody.Instance.Builder packageType(String packageType)
The type of the resource plan.
example:FPT_ossbag_absolute_Storage_sh
public QueryResourcePackageInstancesResponseBody.Instance.Builder region(String region)
The ID of the region.
example:cn-hangzhou
public QueryResourcePackageInstancesResponseBody.Instance.Builder remainingAmount(String remainingAmount)
The remaining quota.
example:40.000
public QueryResourcePackageInstancesResponseBody.Instance.Builder remainingAmountUnit(String remainingAmountUnit)
The unit of the remaining quota.
example:GB
public QueryResourcePackageInstancesResponseBody.Instance.Builder remark(String remark)
The remarks on the resource plan. The remarks must be made in Chinese.
public QueryResourcePackageInstancesResponseBody.Instance.Builder status(String status)
The status of the resource plan. Valid values:
Available
public QueryResourcePackageInstancesResponseBody.Instance.Builder totalAmount(String totalAmount)
The total quota of the resource plan.
example:40.000
public QueryResourcePackageInstancesResponseBody.Instance.Builder totalAmountUnit(String totalAmountUnit)
The unit of the total quota.
example:GB
public QueryResourcePackageInstancesResponseBody.Instance build()
Copyright © 2026. All rights reserved.