public class PrometheusScrapeJob extends AbstractModel
Constructor and Description |
---|
PrometheusScrapeJob() |
PrometheusScrapeJob(PrometheusScrapeJob 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 |
getAgentId()
Get Agent ID
|
String |
getConfig()
Get 配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getJobId()
Get 任务 ID
|
String |
getName()
Get 任务名
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAgentId(String AgentId)
Set Agent ID
|
void |
setConfig(String Config)
Set 配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setJobId(String JobId)
Set 任务 ID
|
void |
setName(String Name)
Set 任务名
注意:此字段可能返回 null,表示取不到有效值。
|
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 PrometheusScrapeJob()
public PrometheusScrapeJob(PrometheusScrapeJob source)
public String getName()
public void setName(String Name)
Name
- 任务名
注意:此字段可能返回 null,表示取不到有效值。public String getAgentId()
public void setAgentId(String AgentId)
AgentId
- Agent IDpublic String getJobId()
public void setJobId(String JobId)
JobId
- 任务 IDpublic String getConfig()
public void setConfig(String Config)
Config
- 配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.