| Package | Description |
|---|---|
| com.huaweicloud.sdk.roma.v2.model |
| Modifier and Type | Field and Description |
|---|---|
static ThrottleForApi.TypeEnum |
ThrottleForApi.TypeEnum.NUMBER_1
Enum NUMBER_1 for value: 1
|
static ThrottleForApi.TypeEnum |
ThrottleForApi.TypeEnum.NUMBER_2
Enum NUMBER_2 for value: 2
|
| Modifier and Type | Method and Description |
|---|---|
static ThrottleForApi.TypeEnum |
ThrottleForApi.TypeEnum.fromValue(Integer value) |
ThrottleForApi.TypeEnum |
ThrottleForApi.getType()
流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
|
static ThrottleForApi.TypeEnum |
ThrottleForApi.TypeEnum.valueOf(Integer value) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThrottleForApi.setType(ThrottleForApi.TypeEnum type) |
ThrottleForApi |
ThrottleForApi.withType(ThrottleForApi.TypeEnum type) |
Copyright © 2022. All rights reserved.