public class AddNodeResourceConfigRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AddNodeResourceConfigRequest()  | 
AddNodeResourceConfigRequest(AddNodeResourceConfigRequest 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 | 
getComputeResourceId()
Get Computing resource ID. 
 | 
String | 
getHardwareResourceType()
Get Hardware type. 
 | 
String | 
getInstanceId()
Get Cluster instance ID. 
 | 
String | 
getIsDefault()
Get Whether default configuration applies, DEFAULT or BACKUP. 
 | 
Resource[] | 
getMultipleResourceConfig()
Get When multiple specifications are added, details of the first specifications are in the ResourceConfig parameter, and those of the second to n-th are in the MultipleResourceConfig parameter. 
 | 
Long | 
getPayMode()
Get Payment mode. 
 | 
String | 
getResourceBaseType()
Get The type can be ComputeResource, EMR, or a default value. 
 | 
Resource | 
getResourceConfig()
Get Resource details. 
 | 
String | 
getResourceType()
Get Node type: Core, Task, and Router. 
 | 
Long | 
getZoneId()
Get Region ID. 
 | 
void | 
setComputeResourceId(String ComputeResourceId)
Set Computing resource ID. 
 | 
void | 
setHardwareResourceType(String HardwareResourceType)
Set Hardware type. 
 | 
void | 
setInstanceId(String InstanceId)
Set Cluster instance ID. 
 | 
void | 
setIsDefault(String IsDefault)
Set Whether default configuration applies, DEFAULT or BACKUP. 
 | 
void | 
setMultipleResourceConfig(Resource[] MultipleResourceConfig)
Set When multiple specifications are added, details of the first specifications are in the ResourceConfig parameter, and those of the second to n-th are in the MultipleResourceConfig parameter. 
 | 
void | 
setPayMode(Long PayMode)
Set Payment mode. 
 | 
void | 
setResourceBaseType(String ResourceBaseType)
Set The type can be ComputeResource, EMR, or a default value. 
 | 
void | 
setResourceConfig(Resource ResourceConfig)
Set Resource details. 
 | 
void | 
setResourceType(String ResourceType)
Set Node type: Core, Task, and Router. 
 | 
void | 
setZoneId(Long ZoneId)
Set Region ID. 
 | 
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, toJsonStringpublic AddNodeResourceConfigRequest()
public AddNodeResourceConfigRequest(AddNodeResourceConfigRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Cluster instance ID.public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType - Node type: Core, Task, and Router.public Resource getResourceConfig()
public void setResourceConfig(Resource ResourceConfig)
ResourceConfig - Resource details.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Payment mode.public String getIsDefault()
public void setIsDefault(String IsDefault)
IsDefault - Whether default configuration applies, DEFAULT or BACKUP. If it is not specified, the default configuration does not apply.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId - Region ID.public Resource[] getMultipleResourceConfig()
public void setMultipleResourceConfig(Resource[] MultipleResourceConfig)
MultipleResourceConfig - When multiple specifications are added, details of the first specifications are in the ResourceConfig parameter, and those of the second to n-th are in the MultipleResourceConfig parameter.public String getResourceBaseType()
public void setResourceBaseType(String ResourceBaseType)
ResourceBaseType - The type can be ComputeResource, EMR, or a default value. The default value is EMR.public String getComputeResourceId()
public void setComputeResourceId(String ComputeResourceId)
ComputeResourceId - Computing resource ID.public String getHardwareResourceType()
public void setHardwareResourceType(String HardwareResourceType)
HardwareResourceType - Hardware type.Copyright © 2025. All rights reserved.