public class WorkloadGroupConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
WorkloadGroupConfig() |
WorkloadGroupConfig(WorkloadGroupConfig 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 |
getCpuHardLimit()
Get CPU hard limit
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getCpuShare()
Get CPU weight
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getEnableMemoryOverCommit()
Get Whether to allow over-allocation
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMemoryLimit()
Get Memory limit.
|
String |
getWorkloadGroupName()
Get Resource group name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCpuHardLimit(String CpuHardLimit)
Set CPU hard limit
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCpuShare(Long CpuShare)
Set CPU weight
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setEnableMemoryOverCommit(Boolean EnableMemoryOverCommit)
Set Whether to allow over-allocation
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMemoryLimit(Long MemoryLimit)
Set Memory limit.
|
void |
setWorkloadGroupName(String WorkloadGroupName)
Set Resource group name
Note: This field may return null, indicating that no valid values can be obtained.
|
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 WorkloadGroupConfig()
public WorkloadGroupConfig(WorkloadGroupConfig source)
public String getWorkloadGroupName()
public void setWorkloadGroupName(String WorkloadGroupName)
WorkloadGroupName
- Resource group name
Note: This field may return null, indicating that no valid values can be obtained.public Long getCpuShare()
public void setCpuShare(Long CpuShare)
CpuShare
- CPU weight
Note: This field may return null, indicating that no valid values can be obtained.public Long getMemoryLimit()
public void setMemoryLimit(Long MemoryLimit)
MemoryLimit
- Memory limit. The sum of memory limit values of all resource groups should be less than or equal to 100.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getEnableMemoryOverCommit()
public void setEnableMemoryOverCommit(Boolean EnableMemoryOverCommit)
EnableMemoryOverCommit
- Whether to allow over-allocation
Note: This field may return null, indicating that no valid values can be obtained.public String getCpuHardLimit()
public void setCpuHardLimit(String CpuHardLimit)
CpuHardLimit
- CPU hard limit
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.