public class InstanceChargePrepaid extends AbstractModel
header, skipSign
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 Instance purchase duration.
|
String |
getRenewFlag()
Get Automatic renewal flag.
|
void |
setPeriod(Long Period)
Set Instance purchase duration.
|
void |
setRenewFlag(String RenewFlag)
Set Automatic renewal flag.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InstanceChargePrepaid()
public InstanceChargePrepaid(InstanceChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period
- Instance purchase duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36. Default value: 1.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Automatic renewal flag. Valid values:
- NOTIFY_AND_AUTO_RENEW: A notification is sent upon expiration, and the instance is renewed automatically. If the account balance is sufficient, the instance will be renewed automatically on a monthly basis after expiration.
- NOTIFY_AND_MANUAL_RENEW: A notification is sent upon expiration, but the instance is not renewed automatically. Default value: NOTIFY_AND_MANUAL_RENEW.
- DISABLE_NOTIFY_AND_MANUAL_RENEW: No notification is sent upon expiration, and the instance is not renewed automatically.Copyright © 2025. All rights reserved.