public class UpdateInstanceSettings extends AbstractModel
Constructor and Description |
---|
UpdateInstanceSettings() |
UpdateInstanceSettings(UpdateInstanceSettings 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 |
---|---|
Long |
getCPUCores()
Get Number of CPU cores
|
String |
getInstanceType()
Get Target machine specification
|
Long |
getMemory()
Get Memory capacity in GB
|
String |
getResourceId()
Get Machine resource ID (EMR resource identifier)
|
void |
setCPUCores(Long CPUCores)
Set Number of CPU cores
|
void |
setInstanceType(String InstanceType)
Set Target machine specification
|
void |
setMemory(Long Memory)
Set Memory capacity in GB
|
void |
setResourceId(String ResourceId)
Set Machine resource ID (EMR resource identifier)
|
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 UpdateInstanceSettings()
public UpdateInstanceSettings(UpdateInstanceSettings source)
public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory capacity in GBpublic Long getCPUCores()
public void setCPUCores(Long CPUCores)
CPUCores
- Number of CPU corespublic String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- Machine resource ID (EMR resource identifier)public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Target machine specificationCopyright © 2023. All rights reserved.