public class DiskChargePrepaid extends AbstractModel
Constructor and Description |
---|
DiskChargePrepaid() |
DiskChargePrepaid(DiskChargePrepaid 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 You can specify this parameter when you need to ensure that a cloud disk and the CVM instance to which it is attached have the same expiration time.
|
Long |
getPeriod()
Get Subscription period of the cloud disk in months.
|
String |
getRenewFlag()
Get Auto-renewal flag.
|
void |
setCurInstanceDeadline(String CurInstanceDeadline)
Set You can specify this parameter when you need to ensure that a cloud disk and the CVM instance to which it is attached have the same expiration time.
|
void |
setPeriod(Long Period)
Set Subscription period of the cloud disk in months.
|
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, toJsonString
public DiskChargePrepaid()
public DiskChargePrepaid(DiskChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period
- Subscription period of the cloud disk in months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Auto-renewal flag. Valid values: public String getCurInstanceDeadline()
public void setCurInstanceDeadline(String CurInstanceDeadline)
CurInstanceDeadline
- You can specify this parameter when you need to ensure that a cloud disk and the CVM instance to which it is attached have the same expiration time. This parameter represents the current expiration time of the instance. In this case, if you specify `Period`, `Period` will represent how long you want to renew the instance, and the cloud disk will be renewed based on the new expiration time of the instance. For example, the value of this parameter can be `2018-03-30 20:15:03`.Copyright © 2023. All rights reserved.