public static final class AllocateCostUnitResourceRequest.ResourceInstanceList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AllocateCostUnitResourceRequest.ResourceInstanceList.Builder |
apportionCode(String apportionCode)
The split item of the shared instance.
|
AllocateCostUnitResourceRequest.ResourceInstanceList |
build() |
AllocateCostUnitResourceRequest.ResourceInstanceList.Builder |
commodityCode(String commodityCode)
The commodity code of the resource instance.
|
AllocateCostUnitResourceRequest.ResourceInstanceList.Builder |
resourceId(String resourceId)
The ID of the resource instance.
|
AllocateCostUnitResourceRequest.ResourceInstanceList.Builder |
resourceUserId(Long resourceUserId)
The user ID of the resource instance owner.
|
public AllocateCostUnitResourceRequest.ResourceInstanceList.Builder apportionCode(String apportionCode)
The split item of the shared instance. This parameter is required only for shared instances.
qwer1-cn-beijing
public AllocateCostUnitResourceRequest.ResourceInstanceList.Builder commodityCode(String commodityCode)
The commodity code of the resource instance.
This parameter is required.
example:oss
public AllocateCostUnitResourceRequest.ResourceInstanceList.Builder resourceId(String resourceId)
The ID of the resource instance.
This parameter is required.
example:cn-hangzhou;standard
public AllocateCostUnitResourceRequest.ResourceInstanceList.Builder resourceUserId(Long resourceUserId)
The user ID of the resource instance owner.
This parameter is required.
example:273394581313325532
public AllocateCostUnitResourceRequest.ResourceInstanceList build()
Copyright © 2026. All rights reserved.