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 |
getAlignType()
Get Mount mode.
|
Long |
getChargeType()
Get Disk billing type (1: monthly subscription, 3: committed use).
|
Boolean |
getCreateDisk()
Get Whether to mount newly purchased cloud disks.
|
String[] |
getCvmInstanceIds()
Get List of CVM node IDs requiring mounting.
|
Boolean |
getDeleteWithInstance()
Get Optional parameter.
|
String[] |
getDiskIds()
Get Cloud disk ID required for mounting.
|
NodeSpecDiskV2 |
getDiskSpec()
Get Specifications of newly purchased cloud disks.
|
String |
getInstanceId()
Get ID of the EMR cluster instance.
|
String[] |
getSelectiveConfServices()
Get Name list of services that can be configured when a new disk is mounted.
|
Long |
getUnderWriteDuration()
Get Disk committed use and purchase duration (only supports 12, 24, 36, 48, and 60).
|
void |
setAlignType(String AlignType)
Set Mount mode.
|
void |
setChargeType(Long ChargeType)
Set Disk billing type (1: monthly subscription, 3: committed use).
|
void |
setCreateDisk(Boolean CreateDisk)
Set Whether to mount newly purchased cloud disks.
|
void |
setCvmInstanceIds(String[] CvmInstanceIds)
Set List of CVM node IDs requiring mounting.
|
void |
setDeleteWithInstance(Boolean DeleteWithInstance)
Set Optional parameter.
|
void |
setDiskIds(String[] DiskIds)
Set Cloud disk ID required for mounting.
|
void |
setDiskSpec(NodeSpecDiskV2 DiskSpec)
Set Specifications of newly purchased cloud disks.
|
void |
setInstanceId(String InstanceId)
Set ID of the EMR cluster instance.
|
void |
setSelectiveConfServices(String[] SelectiveConfServices)
Set Name list of services that can be configured when a new disk is mounted.
|
void |
setUnderWriteDuration(Long UnderWriteDuration)
Set Disk committed use and purchase duration (only supports 12, 24, 36, 48, and 60).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AttachDisksRequest()
public AttachDisksRequest(AttachDisksRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the EMR cluster instance.public String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- Cloud disk ID required for mounting.public String getAlignType()
public void setAlignType(String AlignType)
AlignType
- Mount mode. Valid values.
AUTO_RENEW: auto-renewal.
ALIGN_DEADLINE: automatic alignment with the deadline.public String[] getCvmInstanceIds()
public void setCvmInstanceIds(String[] CvmInstanceIds)
CvmInstanceIds
- List of CVM node IDs requiring mounting.public Boolean getCreateDisk()
public void setCreateDisk(Boolean CreateDisk)
CreateDisk
- Whether to mount newly purchased cloud disks.public NodeSpecDiskV2 getDiskSpec()
public void setDiskSpec(NodeSpecDiskV2 DiskSpec)
DiskSpec
- Specifications of newly purchased cloud disks.public Boolean getDeleteWithInstance()
public void setDeleteWithInstance(Boolean DeleteWithInstance)
DeleteWithInstance
- Optional parameter. Only mount operation is performed if this parameter is not passed. When True is passed, the CBS will be set to termination with the cloud host upon successful mounting. This is only applicable to pay-as-you-go cloud disk.public String[] getSelectiveConfServices()
public void setSelectiveConfServices(String[] SelectiveConfServices)
SelectiveConfServices
- Name list of services that can be configured when a new disk is mounted.public Long getChargeType()
public void setChargeType(Long ChargeType)
ChargeType
- Disk billing type (1: monthly subscription, 3: committed use).public Long getUnderWriteDuration()
public void setUnderWriteDuration(Long UnderWriteDuration)
UnderWriteDuration
- Disk committed use and purchase duration (only supports 12, 24, 36, 48, and 60).Copyright © 2025. All rights reserved.