public class CustomPromConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CustomPromConfig() | 
| CustomPromConfig(CustomPromConfig 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 | 
|---|---|
| String | getAuthType()Get 认证方式
注意:此字段可能返回 null,表示取不到有效值。 | 
| Boolean | getIsPublicAddr()Get 是否公网地址,缺省为 false
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getPassword()Get Prometheus 密码(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUrl()Get Prometheus 访问地址
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUsername()Get Prometheus 用户名(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getVpcId()Get 虚拟网络id
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAuthType(String AuthType)Set 认证方式
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setIsPublicAddr(Boolean IsPublicAddr)Set 是否公网地址,缺省为 false
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPassword(String Password)Set Prometheus 密码(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUrl(String Url)Set Prometheus 访问地址
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUsername(String Username)Set Prometheus 用户名(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setVpcId(String VpcId)Set 虚拟网络id
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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 CustomPromConfig()
public CustomPromConfig(CustomPromConfig source)
public String getUrl()
public void setUrl(String Url)
Url - Prometheus 访问地址
注意:此字段可能返回 null,表示取不到有效值。public String getAuthType()
public void setAuthType(String AuthType)
AuthType - 认证方式
注意:此字段可能返回 null,表示取不到有效值。public Boolean getIsPublicAddr()
public void setIsPublicAddr(Boolean IsPublicAddr)
IsPublicAddr - 是否公网地址,缺省为 false
注意:此字段可能返回 null,表示取不到有效值。public String getVpcId()
public void setVpcId(String VpcId)
VpcId - 虚拟网络id
注意:此字段可能返回 null,表示取不到有效值。public String getUsername()
public void setUsername(String Username)
Username - Prometheus 用户名(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。public String getPassword()
public void setPassword(String Password)
Password - Prometheus 密码(用于 basic 认证方式)
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.