public static final class ListNotificationPoliciesResponseBody.GroupRule.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ListNotificationPoliciesResponseBody.GroupRule |
build() |
ListNotificationPoliciesResponseBody.GroupRule.Builder |
groupingFields(List<String> groupingFields)
The fields that are used to group events.
|
ListNotificationPoliciesResponseBody.GroupRule.Builder |
groupInterval(Long groupInterval)
The time interval of grouping.
|
ListNotificationPoliciesResponseBody.GroupRule.Builder |
groupWait(Long groupWait)
The waiting time for grouping.
|
public ListNotificationPoliciesResponseBody.GroupRule.Builder groupInterval(Long groupInterval)
public ListNotificationPoliciesResponseBody.GroupRule.Builder groupWait(Long groupWait)
public ListNotificationPoliciesResponseBody.GroupRule.Builder groupingFields(List<String> groupingFields)
* If this parameter is not returned, all alert notifications are sent to the alert contacts that belong to the `alertname` group. By default, this parameter is not returned. * If this parameter is returned, alerts with the same fields are sent to the alert contacts in one notification.
public ListNotificationPoliciesResponseBody.GroupRule build()
Copyright © 2024. All rights reserved.