public class Quotas extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Quotas.TypeEnum
资源类型。支持根据资源类型过滤查询指 定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点
|
| Constructor and Description |
|---|
Quotas() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getQuota()
资源的最大配额数。 取值范围:各类型资源默认配额数的最大 值。
|
Quotas.TypeEnum |
getType()
资源类型。支持根据资源类型过滤查询指 定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点
|
Integer |
getUsed()
已创建的资源个数。 取值范围:0~quota数。
|
int |
hashCode() |
void |
setQuota(Integer quota) |
void |
setType(Quotas.TypeEnum type) |
void |
setUsed(Integer used) |
String |
toString() |
Quotas |
withQuota(Integer quota) |
Quotas |
withType(Quotas.TypeEnum type) |
Quotas |
withUsed(Integer used) |
public Quotas withType(Quotas.TypeEnum type)
public Quotas.TypeEnum getType()
public void setType(Quotas.TypeEnum type)
public Integer getUsed()
public void setUsed(Integer used)
public Integer getQuota()
public void setQuota(Integer quota)
Copyright © 2022. All rights reserved.