public class AttachDisksRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AttachDisksRequest() |
AttachDisksRequest(AttachDisksRequest 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[] |
getDiskIds()
Get List of cloud disk IDs.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getRenewFlag()
Get Specify whether to renew an instance automatically when it expires.
|
void |
setDiskIds(String[] DiskIds)
Set List of cloud disk IDs.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setRenewFlag(String RenewFlag)
Set Specify whether to renew an instance automatically when it expires.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AttachDisksRequest()
public AttachDisksRequest(AttachDisksRequest source)
public String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- List of cloud disk IDs.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Specify whether to renew an instance automatically when it expires. Values:
`NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically; `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew; `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not trigger the notification and do not renew.
Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.Copyright © 2024. All rights reserved.