public class InquirePriceRenewInstancesRequest extends AbstractModel
Constructor and Description |
---|
InquirePriceRenewInstancesRequest() |
InquirePriceRenewInstancesRequest(InquirePriceRenewInstancesRequest 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 |
---|---|
Boolean |
getAlignInstanceExpiredTime()
Get Whether the data disk has the same expiration time as the instance
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Prepaid mode, i.e., monthly subscription.
|
String[] |
getInstanceIds()
Get Instance to be renewed.
|
Boolean |
getRenewDataDisk()
Get Whether to renew the data disk
|
void |
setAlignInstanceExpiredTime(Boolean AlignInstanceExpiredTime)
Set Whether the data disk has the same expiration time as the instance
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Prepaid mode, i.e., monthly subscription.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance to be renewed.
|
void |
setRenewDataDisk(Boolean RenewDataDisk)
Set Whether to renew the data disk
|
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 InquirePriceRenewInstancesRequest()
public InquirePriceRenewInstancesRequest(InquirePriceRenewInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance to be renewed.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Prepaid mode, i.e., monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.public Boolean getRenewDataDisk()
public void setRenewDataDisk(Boolean RenewDataDisk)
RenewDataDisk
- Whether to renew the data diskpublic Boolean getAlignInstanceExpiredTime()
public void setAlignInstanceExpiredTime(Boolean AlignInstanceExpiredTime)
AlignInstanceExpiredTime
- Whether the data disk has the same expiration time as the instanceCopyright © 2022. All rights reserved.