Class PrometheusScrapeJob
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.PrometheusScrapeJob
-
public class PrometheusScrapeJob extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAgentId()
Get Agent IDString
getConfig()
Get 配置 注意:此字段可能返回 null,表示取不到有效值。String
getJobId()
Get 任务 IDString
getName()
Get 任务名 注意:此字段可能返回 null,表示取不到有效值。void
setAgentId(String AgentId)
Set Agent IDvoid
setConfig(String Config)
Set 配置 注意:此字段可能返回 null,表示取不到有效值。void
setJobId(String JobId)
Set 任务 IDvoid
setName(String Name)
Set 任务名 注意:此字段可能返回 null,表示取不到有效值。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
PrometheusScrapeJob
public PrometheusScrapeJob()
-
PrometheusScrapeJob
public 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.
-
-
Method Detail
-
getName
public String getName()
Get 任务名 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Name 任务名 注意:此字段可能返回 null,表示取不到有效值。
-
setName
public void setName(String Name)
Set 任务名 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Name
- 任务名 注意:此字段可能返回 null,表示取不到有效值。
-
getAgentId
public String getAgentId()
Get Agent ID- Returns:
- AgentId Agent ID
-
setAgentId
public void setAgentId(String AgentId)
Set Agent ID- Parameters:
AgentId
- Agent ID
-
getJobId
public String getJobId()
Get 任务 ID- Returns:
- JobId 任务 ID
-
setJobId
public void setJobId(String JobId)
Set 任务 ID- Parameters:
JobId
- 任务 ID
-
getConfig
public String getConfig()
Get 配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Config 配置 注意:此字段可能返回 null,表示取不到有效值。
-
setConfig
public void setConfig(String Config)
Set 配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Config
- 配置 注意:此字段可能返回 null,表示取不到有效值。
-
-