public static final class DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder category(String category)
The category of the cloud service. For example, ApsaraDB for Redis includes the following categories: ApsaraDB for Redis (standard architecture), ApsaraDB for Redis (cluster architecture), and ApsaraDB for Redis (read/write splitting architecture). In this case, the valid values of this parameter for ApsaraDB for Redis include kvstore_standard
, kvstore_sharding
, and kvstore_splitrw
.
ecs
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder createTime(String createTime)
The timestamp when the blacklist policy was created.
Unit: milliseconds.
example:1665714561000
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder effectiveTime(String effectiveTime)
The time range within which the blacklist policy is effective.
example:00:00-23:59
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder enableEndTime(Long enableEndTime)
The timestamp when the blacklist policy started to take effect.
Unit: milliseconds.
example:1640608200000
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder enableStartTime(Long enableStartTime)
The timestamp when the blacklist policy expired.
Unit: milliseconds.
example:1640237400000
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder id(String id)
The ID of the blacklist policy.
example:93514c96-ceb8-47d8-8ee3-93b6d98b****
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder instances(List<String> instances)
The IDs of the instances that belong to the specified cloud service.
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder isEnable(Boolean isEnable)
The status of the blacklist policy. Valid values:
true
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder metrics(List<DescribeMetricRuleBlackListResponseBody.Metrics> metrics)
The metrics of the instance.
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder name(String name)
The name of the blacklist policy.
example:Blacklist-01
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder namespace(String namespace)
The namespace of the cloud service.
example:acs_ecs_dashboard
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder scopeType(String scopeType)
The effective scope of the blacklist policy. Valid values:
USER
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder scopeValue(List<String> scopeValue)
The IDs of the application groups.
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList.Builder updateTime(String updateTime)
The timestamp when the blacklist policy was modified.
Unit: milliseconds.
example:1665718373000
public DescribeMetricRuleBlackListResponseBody.DescribeMetricRuleBlackList build()
Copyright © 2024. All rights reserved.