public class PurchaseReservedVolumeRequest extends AbstractBceRequest
| Constructor and Description |
|---|
PurchaseReservedVolumeRequest() |
| Modifier and Type | Method and Description |
|---|---|
Billing |
getBilling() |
String |
getClientToken() |
String |
getVolumeId() |
void |
setBilling(Billing billing) |
void |
setClientToken(String clientToken) |
void |
setVolumeId(String volumeId) |
PurchaseReservedVolumeRequest |
withBilling(Billing billing)
Configure billing for the request.
|
PurchaseReservedVolumeRequest |
withClientToken(String clientToken)
Configure optional client token for the request.
|
PurchaseReservedVolumeRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
PurchaseReservedVolumeRequest |
withVolumeId(String volumeId)
Configure volumeId for the request.
|
getRequestCredentials, setRequestCredentialspublic String getClientToken()
public void setClientToken(String clientToken)
public PurchaseReservedVolumeRequest withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.
See more detail at
BCE API docpublic String getVolumeId()
public void setVolumeId(String volumeId)
public PurchaseReservedVolumeRequest withVolumeId(String volumeId)
volumeId - The id of volume which will be renew.public Billing getBilling()
public void setBilling(Billing billing)
public PurchaseReservedVolumeRequest withBilling(Billing billing)
billing - The detail model to specify the billing.public PurchaseReservedVolumeRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2022. All rights reserved.