public class CreatePrometheusMultiTenantInstancePostPayModeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreatePrometheusMultiTenantInstancePostPayModeRequest() | 
| CreatePrometheusMultiTenantInstancePostPayModeRequest(CreatePrometheusMultiTenantInstancePostPayModeRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getDataRetentionTime()Get 数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一 | 
| String | getGrafanaInstanceId()Get 需要关联的 Grafana 实例 | 
| String | getInstanceName()Get 实例名 | 
| String | getSubnetId()Get 子网 ID(可通过 vpc:DescribeSubnets 接口获取) | 
| PrometheusTag[] | getTagSpecification()Get 实例的标签 | 
| String | getVpcId()Get VPC ID(可通过 vpc:DescribeVpcs 接口获取,与实例同地域) | 
| String | getZone()Get 可用区(与子网同可用区) | 
| void | setDataRetentionTime(Long DataRetentionTime)Set 数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一 | 
| void | setGrafanaInstanceId(String GrafanaInstanceId)Set 需要关联的 Grafana 实例 | 
| void | setInstanceName(String InstanceName)Set 实例名 | 
| void | setSubnetId(String SubnetId)Set 子网 ID(可通过 vpc:DescribeSubnets 接口获取) | 
| void | setTagSpecification(PrometheusTag[] TagSpecification)Set 实例的标签 | 
| void | setVpcId(String VpcId)Set VPC ID(可通过 vpc:DescribeVpcs 接口获取,与实例同地域) | 
| void | setZone(String Zone)Set 可用区(与子网同可用区) | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreatePrometheusMultiTenantInstancePostPayModeRequest()
public CreatePrometheusMultiTenantInstancePostPayModeRequest(CreatePrometheusMultiTenantInstancePostPayModeRequest source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - 实例名public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID(可通过 vpc:DescribeVpcs 接口获取,与实例同地域)public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - 子网 ID(可通过 vpc:DescribeSubnets 接口获取)public Long getDataRetentionTime()
public void setDataRetentionTime(Long DataRetentionTime)
DataRetentionTime - 数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一public String getZone()
public void setZone(String Zone)
Zone - 可用区(与子网同可用区)public PrometheusTag[] getTagSpecification()
public void setTagSpecification(PrometheusTag[] TagSpecification)
TagSpecification - 实例的标签public String getGrafanaInstanceId()
public void setGrafanaInstanceId(String GrafanaInstanceId)
GrafanaInstanceId - 需要关联的 Grafana 实例Copyright © 2025. All rights reserved.