public static final class CreateStoragePlanRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateStoragePlanRequest |
build() |
CreateStoragePlanRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateStoragePlanRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateStoragePlanRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateStoragePlanRequest.Builder |
period(String period)
The unit of the subscription duration for the storage plan.
|
CreateStoragePlanRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateStoragePlanRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateStoragePlanRequest.Builder |
storageClass(String storageClass)
The capacity of the storage plan.
|
CreateStoragePlanRequest.Builder |
storageType(String storageType)
The type of the storage plan.
|
CreateStoragePlanRequest.Builder |
usedTime(String usedTime)
The subscription duration of the storage plan.
|
public CreateStoragePlanRequest.Builder clientToken(String clientToken)
public CreateStoragePlanRequest.Builder ownerAccount(String ownerAccount)
public CreateStoragePlanRequest.Builder ownerId(Long ownerId)
public CreateStoragePlanRequest.Builder period(String period)
* **Month** * **Year**
public CreateStoragePlanRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateStoragePlanRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateStoragePlanRequest.Builder storageClass(String storageClass)
public CreateStoragePlanRequest.Builder storageType(String storageType)
* **Mainland**: The storage plan is used inside the Chinese mainland. * **Overseas**: The storage plan is used outside the Chinese mainland.
public CreateStoragePlanRequest.Builder usedTime(String usedTime)
* If **Period** is set to **Month**, the value ranges from 1 to 9. * If **Period** is set to **Year**, the value can be 1, 2, 3, or 5.
public CreateStoragePlanRequest build()
Copyright © 2023. All rights reserved.