public class InquiryPriceRenewInstanceRequest extends AbstractModel
| Constructor and Description | 
|---|
| InquiryPriceRenewInstanceRequest() | 
| InquiryPriceRenewInstanceRequest(InquiryPriceRenewInstanceRequest 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 | getCurrency()Get Currency. | 
| Long | getModifyPayMode()Get Whether to change from pay-as-you-go billing to monthly subscription billing. | 
| Long | getPayMode()Get Instance billing mode. | 
| Placement | getPlacement()Get Location of the instance. | 
| String[] | getResourceIds()Get List of resource IDs of the node to be renewed. | 
| Long | getTimeSpan()Get How long the instance will be renewed for, which needs to be used together with `TimeUnit`. | 
| String | getTimeUnit()Get Unit of time for instance renewal. | 
| void | setCurrency(String Currency)Set Currency. | 
| void | setModifyPayMode(Long ModifyPayMode)Set Whether to change from pay-as-you-go billing to monthly subscription billing. | 
| void | setPayMode(Long PayMode)Set Instance billing mode. | 
| void | setPlacement(Placement Placement)Set Location of the instance. | 
| void | setResourceIds(String[] ResourceIds)Set List of resource IDs of the node to be renewed. | 
| void | setTimeSpan(Long TimeSpan)Set How long the instance will be renewed for, which needs to be used together with `TimeUnit`. | 
| void | setTimeUnit(String TimeUnit)Set Unit of time for instance renewal. | 
| 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 InquiryPriceRenewInstanceRequest()
public InquiryPriceRenewInstanceRequest(InquiryPriceRenewInstanceRequest source)
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan - How long the instance will be renewed for, which needs to be used together with `TimeUnit`.public String[] getResourceIds()
public void setResourceIds(String[] ResourceIds)
ResourceIds - List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement - Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Instance billing mode.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Unit of time for instance renewal.public String getCurrency()
public void setCurrency(String Currency)
Currency - Currency.public Long getModifyPayMode()
public void setModifyPayMode(Long ModifyPayMode)
ModifyPayMode - Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yesCopyright © 2022. All rights reserved.