public class RenewDiskChargePrepaid extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RenewDiskChargePrepaid() |
RenewDiskChargePrepaid(RenewDiskChargePrepaid 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 |
|---|---|
String |
getCurInstanceDeadline()
Get Expiration time of the current instance, such as "2018-01-01 00:00:00".
|
Long |
getPeriod()
Get Renewal period
|
String |
getRenewFlag()
Get Whether to renew the disk automatically.
|
String |
getTimeUnit()
Get Unit of the period.
|
void |
setCurInstanceDeadline(String CurInstanceDeadline)
Set Expiration time of the current instance, such as "2018-01-01 00:00:00".
|
void |
setPeriod(Long Period)
Set Renewal period
|
void |
setRenewFlag(String RenewFlag)
Set Whether to renew the disk automatically.
|
void |
setTimeUnit(String TimeUnit)
Set Unit of the period.
|
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, toJsonStringpublic RenewDiskChargePrepaid()
public RenewDiskChargePrepaid(RenewDiskChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period - Renewal periodpublic String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag - Whether to renew the disk automatically. Values:
`NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically; `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew; `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not trigger the notification and do not renew.
Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Unit of the period. Values: `m` (month).public String getCurInstanceDeadline()
public void setCurInstanceDeadline(String CurInstanceDeadline)
CurInstanceDeadline - Expiration time of the current instance, such as "2018-01-01 00:00:00". Specify this parameter to align the expiration time of the instance and attached cloud disks. `CurInstanceDeadline` and `Period` cannot be both specified.Copyright © 2025. All rights reserved.