public class PrometheusConfigItem extends AbstractModel
Constructor and Description |
---|
PrometheusConfigItem() |
PrometheusConfigItem(PrometheusConfigItem 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 |
getConfig()
Get Configuration content
|
String |
getName()
Get Name
|
Targets |
getTargets()
Get Number of targets
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTemplateId()
Get If the configuration comes from a template, this parameter is the template ID, which is used as an output parameter.
|
void |
setConfig(String Config)
Set Configuration content
|
void |
setName(String Name)
Set Name
|
void |
setTargets(Targets Targets)
Set Number of targets
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTemplateId(String TemplateId)
Set If the configuration comes from a template, this parameter is the template ID, which is used as an output parameter.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PrometheusConfigItem()
public PrometheusConfigItem(PrometheusConfigItem source)
public String getName()
public void setName(String Name)
Name
- Namepublic String getConfig()
public void setConfig(String Config)
Config
- Configuration contentpublic String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- If the configuration comes from a template, this parameter is the template ID, which is used as an output parameter.
Note: This field may return null, indicating that no valid values can be obtained.public Targets getTargets()
public void setTargets(Targets Targets)
Targets
- Number of targets
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.