public class Resource extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Resource() | 
| Resource(Resource 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 | getName()Get 资源类型 cpu/memory | 
| String | getQuantity()Get 资源数量 | 
| void | setName(String Name)Set 资源类型 cpu/memory | 
| void | setQuantity(String Quantity)Set 资源数量 | 
| 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 Resource()
public Resource(Resource source)
public String getName()
public void setName(String Name)
Name - 资源类型 cpu/memorypublic String getQuantity()
public void setQuantity(String Quantity)
Quantity - 资源数量Copyright © 2025. All rights reserved.