public class CreatePrometheusScrapeJobRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreatePrometheusScrapeJobRequest() |
CreatePrometheusScrapeJobRequest(CreatePrometheusScrapeJobRequest 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(可通过DescribePrometheusAgents 接口获取)
|
String |
getConfig()
Get 抓取任务配置
|
String |
getInstanceId()
Get Prometheus 实例 ID
|
void |
setAgentId(String AgentId)
Set Agent ID(可通过DescribePrometheusAgents 接口获取)
|
void |
setConfig(String Config)
Set 抓取任务配置
|
void |
setInstanceId(String InstanceId)
Set Prometheus 实例 ID
|
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 CreatePrometheusScrapeJobRequest()
public CreatePrometheusScrapeJobRequest(CreatePrometheusScrapeJobRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Prometheus 实例 IDpublic String getAgentId()
public void setAgentId(String AgentId)
AgentId - Agent ID(可通过DescribePrometheusAgents 接口获取)public String getConfig()
public void setConfig(String Config)
Config - 抓取任务配置Copyright © 2025. All rights reserved.