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 Configuration
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getJobId()Get Task ID | 
| String | getName()Get Task name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAgentId(String AgentId)Set Agent ID | 
| void | setConfig(String Config)Set Configuration
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setJobId(String JobId)Set Task ID | 
| void | setName(String Name)Set Task name
Note: This field may return null, indicating that no valid values can be obtained. | 
| 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, toJsonStringpublic PrometheusScrapeJob()
public PrometheusScrapeJob(PrometheusScrapeJob source)
public String getName()
public void setName(String Name)
Name - Task name
Note: This field may return null, indicating that no valid values can be obtained.public String getAgentId()
public void setAgentId(String AgentId)
AgentId - Agent IDpublic String getJobId()
public void setJobId(String JobId)
JobId - Task IDpublic String getConfig()
public void setConfig(String Config)
Config - Configuration
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.