public static final class SearchAlertRulesResponseBody.Dimensions.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
SearchAlertRulesResponseBody.Dimensions |
build() |
SearchAlertRulesResponseBody.Dimensions.Builder |
key(String key)
The key of the dimension.
|
SearchAlertRulesResponseBody.Dimensions.Builder |
type(String type)
The type of the dimension.
|
SearchAlertRulesResponseBody.Dimensions.Builder |
value(String value)
The value of the dimension.
|
public SearchAlertRulesResponseBody.Dimensions.Builder key(String key)
* `rpc`: the name of the API * `rpcType`: the type of the API call, such as HTTP or DUBBO * `endpoint`: the name of the database * `rootIp`: the IP address of the host
public SearchAlertRulesResponseBody.Dimensions.Builder type(String type)
* `STATIC`: checks only the value of this dimension. In this case, you must set the **dimensions.value** parameter. * `ALL`: checks the values of all dimensions. The metrics of all API calls are checked. If an API call triggers an alert, the name of the API is displayed in the alert notification. In this case, you do not need to set the **dimensions.value** parameter. * `DISABLE`: aggregates the values of all dimensions. In this case, you do not need to set the **dimensions.value** parameter.
public SearchAlertRulesResponseBody.Dimensions.Builder value(String value)
public SearchAlertRulesResponseBody.Dimensions build()
Copyright © 2024. All rights reserved.