public class ModifyInstancesBundleRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstancesBundleRequest() |
ModifyInstancesBundleRequest(ModifyInstancesBundleRequest 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 |
getAutoVoucher()
Get Whether to use existing vouchers under the current account automatically.
|
String |
getBundleId()
Get ID of bundles to change.
|
String[] |
getInstanceIds()
Get IDs of target instances.
|
void |
setAutoVoucher(Boolean AutoVoucher)
Set Whether to use existing vouchers under the current account automatically.
|
void |
setBundleId(String BundleId)
Set ID of bundles to change.
|
void |
setInstanceIds(String[] InstanceIds)
Set IDs of target instances.
|
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 ModifyInstancesBundleRequest()
public ModifyInstancesBundleRequest(ModifyInstancesBundleRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 15 instances can be specified at the same time.public String getBundleId()
public void setBundleId(String BundleId)
BundleId
- ID of bundles to change. You can get the IDs from the `BundleId` returned by the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1).public Boolean getAutoVoucher()
public void setAutoVoucher(Boolean AutoVoucher)
AutoVoucher
- Whether to use existing vouchers under the current account automatically. Valid values:
`true`: Deduct from existing vouchers automatically
`false`: Do not deduct from existing vouchers automatically
Default value: `false`.Copyright © 2023. All rights reserved.