public class InstanceChargePrepaid extends AbstractModel
| Constructor and Description | 
|---|
| InstanceChargePrepaid() | 
| 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 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.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.Copyright © 2021. All rights reserved.