public static final class DescribeProjectMetaResponseBody.Resource.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeProjectMetaResponseBody.Resource |
build() |
DescribeProjectMetaResponseBody.Resource.Builder |
description(String description)
The description.
|
DescribeProjectMetaResponseBody.Resource.Builder |
labels(String labels)
The tags.
|
DescribeProjectMetaResponseBody.Resource.Builder |
namespace(String namespace)
The namespace of the cloud service.
|
public DescribeProjectMetaResponseBody.Resource.Builder description(String description)
public DescribeProjectMetaResponseBody.Resource.Builder labels(String labels)
Tags are returned in the following format: `[{"name":"Tag key","value":"Tag value"}, {"name":"Tag key","value":"Tag value"}]`. The following tags are commonly used: * alertUnit: the unit of the metric value in alerts. If the unit is small, the original metric value may be too large. In this case, you can use the `alertUnit` tag to specify an appropriate unit. This tag is used in CloudMonitor. * minAlertPeriod: the minimum time interval to report a new alert. The interval is usually set to 1 minute. * metricCategory: the service specification. Example: kvstore_sharding. An Alibaba Cloud service may have different specifications that are defined in the same namespace. You can use this parameter to distinguish between service specifications. * is_alarm: specifies whether an alert rule can be set. We recommend that you do not use the special tags in the CloudMonitor console.
public DescribeProjectMetaResponseBody.Resource.Builder namespace(String namespace)
public DescribeProjectMetaResponseBody.Resource build()
Copyright © 2023. All rights reserved.