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 Topic type: 0 for log topic, and 1 for metric topic
|
MetricLabel[] |
getCustomMetricLabels()
Get In addition to MetricLabels, this parameter can be used to supplement static dimensions for the metric.
|
String |
getCustomTime()
Get Metric timestamp.
|
String[] |
getMetricLabels()
Get Metric dimension.
|
String |
getMetricName()
Get Metric name.
|
String[] |
getMetricNames()
Get Metric NameWhen BizType is 1, prioritize using the MetricNames field.
|
String |
getRegion()
Get Region information for the topic
|
String |
getTopicId()
Get Target topic ID
|
void |
setBizType(Long BizType)
Set Topic type: 0 for log topic, and 1 for metric topic
|
void |
setCustomMetricLabels(MetricLabel[] CustomMetricLabels)
Set In addition to MetricLabels, this parameter can be used to supplement static dimensions for the metric.
|
void |
setCustomTime(String CustomTime)
Set Metric timestamp.
|
void |
setMetricLabels(String[] MetricLabels)
Set Metric dimension.
|
void |
setMetricName(String MetricName)
Set Metric name.
|
void |
setMetricNames(String[] MetricNames)
Set Metric NameWhen BizType is 1, prioritize using the MetricNames field.
|
void |
setRegion(String Region)
Set Region information for the topic
|
void |
setTopicId(String TopicId)
Set Target topic ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ScheduledSqlResouceInfo()
public ScheduledSqlResouceInfo(ScheduledSqlResouceInfo source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Target topic IDpublic String getRegion()
public void setRegion(String Region)
Region
- Region information for the topicpublic Long getBizType()
public void setBizType(Long BizType)
BizType
- Topic type: 0 for log topic, and 1 for metric topicpublic String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Metric name. When BizType is 1, MetricName needs to be specified.public String[] getMetricNames()
public void setMetricNames(String[] MetricNames)
MetricNames
- Metric NameWhen BizType is 1, prioritize using the MetricNames field. Multiple metrics can only be filled in the MetricNames field, while it's recommended to fill a single metric in the MetricName field.public String[] getMetricLabels()
public void setMetricLabels(String[] MetricLabels)
MetricLabels
- Metric dimension. Not accept time type.public String getCustomTime()
public void setCustomTime(String CustomTime)
CustomTime
- Metric timestamp. The default value is the left time point of the SQL query time range, but you can also specify other fields (The type is uinx time, TimeStamp, and precision millisecond) as the metric timestamp.public MetricLabel[] getCustomMetricLabels()
public void setCustomMetricLabels(MetricLabel[] CustomMetricLabels)
CustomMetricLabels
- In addition to MetricLabels, this parameter can be used to supplement static dimensions for the metric.
Dimension names must start with a letter or underscore, followed by letters, digits, or underscores, with a length less than or equal to 1024 bytes.Copyright © 2024. All rights reserved.