public class ModifyVolumeChargeRequest extends AbstractBceRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ModifyVolumeChargeRequest.ModifyVolumeChargeModel
internal request class
|
| Constructor and Description |
|---|
ModifyVolumeChargeRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBillingMethod() |
int |
getReservationLength() |
String |
getVolumeId() |
void |
setBillingMethod(String billingMethod) |
void |
setReservationLength(int reservationLength) |
void |
setVolumeId(String volumeId) |
ModifyVolumeChargeRequest.ModifyVolumeChargeModel |
toModifyVolumeChargeModel()
convert user request to internal request model
|
ModifyVolumeChargeRequest |
withBillingMethod(String billingMethod) |
AbstractBceRequest |
withRequestCredentials(BceCredentials credentials) |
ModifyVolumeChargeRequest |
withReservationLength(int reservationLength) |
ModifyVolumeChargeRequest |
withVolumeId(String volumeId) |
getRequestCredentials, setRequestCredentialspublic ModifyVolumeChargeRequest withVolumeId(String volumeId)
public ModifyVolumeChargeRequest withBillingMethod(String billingMethod)
public ModifyVolumeChargeRequest withReservationLength(int reservationLength)
public String getBillingMethod()
public void setBillingMethod(String billingMethod)
public int getReservationLength()
public void setReservationLength(int reservationLength)
public String getVolumeId()
public void setVolumeId(String volumeId)
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic ModifyVolumeChargeRequest.ModifyVolumeChargeModel toModifyVolumeChargeModel()
Copyright © 2021. All rights reserved.