public class ScheduledSqlResouceInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
ScheduledSqlResouceInfo() |
ScheduledSqlResouceInfo(ScheduledSqlResouceInfo 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 |
---|---|
Long |
getBizType()
Get 主题类型:0为日志主题,1为指标主题
|
MetricLabel[] |
getCustomMetricLabels()
Get 除了MetricLabels,您还可以使用该参数,为指标补充静态的维度。
维度名以字母或下划线开头,后面可以跟字母、数字或下划线,长度小于等于1024 字节
|
String |
getCustomTime()
Get 指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。
|
String[] |
getMetricLabels()
Get 指标维度,不接受时间类型。
|
String |
getMetricName()
Get 指标名称。当BizType为1时,MetricName需要填写
|
String[] |
getMetricNames()
Get 指标名称
BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段
|
String |
getRegion()
Get 主题的地域信息
|
String |
getTopicId()
Get 目标主题id
|
void |
setBizType(Long BizType)
Set 主题类型:0为日志主题,1为指标主题
|
void |
setCustomMetricLabels(MetricLabel[] CustomMetricLabels)
Set 除了MetricLabels,您还可以使用该参数,为指标补充静态的维度。
维度名以字母或下划线开头,后面可以跟字母、数字或下划线,长度小于等于1024 字节
|
void |
setCustomTime(String CustomTime)
Set 指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。
|
void |
setMetricLabels(String[] MetricLabels)
Set 指标维度,不接受时间类型。
|
void |
setMetricName(String MetricName)
Set 指标名称。当BizType为1时,MetricName需要填写
|
void |
setMetricNames(String[] MetricNames)
Set 指标名称
BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段
|
void |
setRegion(String Region)
Set 主题的地域信息
|
void |
setTopicId(String TopicId)
Set 目标主题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, toJsonString
public ScheduledSqlResouceInfo()
public ScheduledSqlResouceInfo(ScheduledSqlResouceInfo source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 目标主题idpublic String getRegion()
public void setRegion(String Region)
Region
- 主题的地域信息public Long getBizType()
public void setBizType(Long BizType)
BizType
- 主题类型:0为日志主题,1为指标主题public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- 指标名称。当BizType为1时,MetricName需要填写public String[] getMetricNames()
public void setMetricNames(String[] MetricNames)
MetricNames
- 指标名称
BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段public String[] getMetricLabels()
public void setMetricLabels(String[] MetricLabels)
MetricLabels
- 指标维度,不接受时间类型。public String getCustomTime()
public void setCustomTime(String CustomTime)
CustomTime
- 指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。public MetricLabel[] getCustomMetricLabels()
public void setCustomMetricLabels(MetricLabel[] CustomMetricLabels)
CustomMetricLabels
- 除了MetricLabels,您还可以使用该参数,为指标补充静态的维度。
维度名以字母或下划线开头,后面可以跟字母、数字或下划线,长度小于等于1024 字节Copyright © 2025. All rights reserved.