Class InstanceChargePrepaid
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.InstanceChargePrepaid
-
public class InstanceChargePrepaid extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetPeriod()Get 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。BooleangetRenewFlag()Get 是否自动续费,默认为否。 true:是 false:否voidsetPeriod(Long Period)Set 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。voidsetRenewFlag(Boolean RenewFlag)Set 是否自动续费,默认为否。 true:是 false:否voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
InstanceChargePrepaid
public InstanceChargePrepaid()
-
InstanceChargePrepaid
public 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.
-
-
Method Detail
-
getPeriod
public Long getPeriod()
Get 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。- Returns:
- Period 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。
-
setPeriod
public void setPeriod(Long Period)
Set 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。- Parameters:
Period- 包年包月时间,默认为1,单位:月。 取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11, 12, 24, 36, 48, 60。
-
getRenewFlag
public Boolean getRenewFlag()
Get 是否自动续费,默认为否。- true:是
- false:否
- Returns:
- RenewFlag 是否自动续费,默认为否。
- true:是
- false:否
-
setRenewFlag
public void setRenewFlag(Boolean RenewFlag)
Set 是否自动续费,默认为否。- true:是
- false:否
- Parameters:
RenewFlag- 是否自动续费,默认为否。- true:是
- false:否
-
-