public class Resources extends Object
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getQuota()
配额总数: - **CERTIFICATE_AUTHORITY**: 当前系统指定100; - **CERTIFICATE**: 当前系统指定100000。
|
String |
getType()
证书类型: - **CERTIFICATE_AUTHORITY**: CA证书; - **CERTIFICATE**: 私有证书。
|
Integer |
getUsed()
已使用配额数。
|
int |
hashCode() |
void |
setQuota(Integer quota) |
void |
setType(String type) |
void |
setUsed(Integer used) |
String |
toString() |
Resources |
withQuota(Integer quota) |
Resources |
withType(String type) |
Resources |
withUsed(Integer used) |
public String getType()
public void setType(String type)
public Integer getUsed()
public void setUsed(Integer used)
public Integer getQuota()
public void setQuota(Integer quota)
Copyright © 2022. All rights reserved.