public class InstanceChargePrepaid extends AbstractModel
| Constructor and Description | 
|---|
| InstanceChargePrepaid() | 
| InstanceChargePrepaid(InstanceChargePrepaid source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getPeriod()Get Purchased usage period (in month). | 
| String | getRenewFlag()Get Auto-renewal flag. | 
| void | setPeriod(Long Period)Set Purchased usage period (in month). | 
| void | setRenewFlag(String RenewFlag)Set Auto-renewal flag. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic InstanceChargePrepaid()
public InstanceChargePrepaid(InstanceChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period - Purchased usage period (in month). Valid values: `1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36`. Default value: `1`.
(This parameter is required in `InquirePriceRenewDBInstances` and `RenewDBInstances` APIs.)public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag - Auto-renewal flag. Valid values:
`NOTIFY_AND_AUTO_RENEW`: notify expiration and renew automatically
`NOTIFY_AND_MANUAL_RENEW`: notify expiration but not renew automatically
`DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify expiration nor renew automatically
Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis when the account balance is sufficient.
(This parameter is required in `InquirePriceRenewDBInstances` and `RenewDBInstances` APIs.)Copyright © 2023. All rights reserved.