|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.instance.PurchaseReservedInstanceRequeset
public class PurchaseReservedInstanceRequeset
The request for renewing the instance.
| Constructor Summary | |
|---|---|
PurchaseReservedInstanceRequeset()
|
|
| Method Summary | |
|---|---|
Billing |
getBilling()
|
String |
getClientToken()
|
String |
getInstanceId()
|
String |
getRelatedRenewFlag()
|
void |
setBilling(Billing billing)
|
void |
setClientToken(String clientToken)
|
void |
setInstanceId(String instanceId)
|
void |
setRelatedRenewFlag(String relatedRenewFlag)
|
PurchaseReservedInstanceRequeset |
withBilling(Billing billing)
Configure billing for the request. |
PurchaseReservedInstanceRequeset |
withClientToken(String clientToken)
Configure optional client token for the request. |
PurchaseReservedInstanceRequeset |
withInstanceId(String instanceId)
Configure instanceId for the request. |
PurchaseReservedInstanceRequeset |
withRelatedRenewFlag(String relatedRenewFlag)
Configure relatedRenewFlag for the request. |
PurchaseReservedInstanceRequeset |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request. |
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PurchaseReservedInstanceRequeset()
| Method Detail |
|---|
public String getClientToken()
public void setClientToken(String clientToken)
public PurchaseReservedInstanceRequeset withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.
See more detail at
BCE API doc
public String getInstanceId()
public void setInstanceId(String instanceId)
public PurchaseReservedInstanceRequeset withInstanceId(String instanceId)
instanceId - The id of the instance.
public Billing getBilling()
public void setBilling(Billing billing)
public PurchaseReservedInstanceRequeset withBilling(Billing billing)
billing - The detail model to specify the billing.
public String getRelatedRenewFlag()
public void setRelatedRenewFlag(String relatedRenewFlag)
public PurchaseReservedInstanceRequeset withRelatedRenewFlag(String relatedRenewFlag)
RelatedRenewFlagType
relatedRenewFlag - The flag of instance related renew.
public PurchaseReservedInstanceRequeset withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||