public class Resources extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Resources.TypeEnum
“资源类型”
|
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getQuota()
函数配额限制。
|
Resources.TypeEnum |
getType()
“资源类型”
|
String |
getUnit()
资源的计数单位。fgs_func_code_size,单位为MB,其他场景无单位
|
Integer |
getUsed()
已使用的配额。
|
int |
hashCode() |
void |
setQuota(Integer quota) |
void |
setType(Resources.TypeEnum type) |
void |
setUnit(String unit) |
void |
setUsed(Integer used) |
String |
toString() |
Resources |
withQuota(Integer quota) |
Resources |
withType(Resources.TypeEnum type) |
Resources |
withUnit(String unit) |
Resources |
withUsed(Integer used) |
public Integer getQuota()
public void setQuota(Integer quota)
public Integer getUsed()
public void setUsed(Integer used)
public Resources withType(Resources.TypeEnum type)
public Resources.TypeEnum getType()
public void setType(Resources.TypeEnum type)
public String getUnit()
public void setUnit(String unit)
Copyright © 2021. All rights reserved.