public static final class CreateHybridMonitorNamespaceRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateHybridMonitorNamespaceRequest |
build() |
CreateHybridMonitorNamespaceRequest.Builder |
description(String description)
The description of the namespace.
|
CreateHybridMonitorNamespaceRequest.Builder |
namespace(String namespace)
The name of the namespace.
|
CreateHybridMonitorNamespaceRequest.Builder |
namespaceRegion(String namespaceRegion)
The region where the metric data is stored.
|
CreateHybridMonitorNamespaceRequest.Builder |
namespaceType(String namespaceType)
The storage scheme of metric data.
|
CreateHybridMonitorNamespaceRequest.Builder |
spec(String spec)
The data retention period.
|
public CreateHybridMonitorNamespaceRequest.Builder description(String description)
The description of the namespace.
public CreateHybridMonitorNamespaceRequest.Builder namespace(String namespace)
The name of the namespace.
The name can contain lowercase letters, digits, and hyphens (-).
This parameter is required.
example:aliyun
public CreateHybridMonitorNamespaceRequest.Builder namespaceRegion(String namespaceRegion)
The region where the metric data is stored.
example:cn-hangzhou
public CreateHybridMonitorNamespaceRequest.Builder namespaceType(String namespaceType)
The storage scheme of metric data. Valid values:
example:For more information about the storage schemes of metric data, see Data storage schemes for Hybrid Cloud Monitoring.
m_prometheus
public CreateHybridMonitorNamespaceRequest.Builder spec(String spec)
The data retention period. Valid values:
For information about the pricing for different retention periods, see the Pricing section in Billing of the dashboard feature.
example:cms.s1.3xlarge
public CreateHybridMonitorNamespaceRequest build()
Copyright © 2026. All rights reserved.