Class MetricConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.MetricConfig
-
public class MetricConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MetricConfig()MetricConfig(MetricConfig 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 Long[]getContinuePeriod()Get 允许配置的持续周期个数String[]getOperator()Get 允许使用的运算符Long[]getPeriod()Get 允许配置的数据周期,以秒为单位voidsetContinuePeriod(Long[] ContinuePeriod)Set 允许配置的持续周期个数voidsetOperator(String[] Operator)Set 允许使用的运算符voidsetPeriod(Long[] Period)Set 允许配置的数据周期,以秒为单位voidtoMap(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
-
MetricConfig
public MetricConfig()
-
MetricConfig
public MetricConfig(MetricConfig 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
-
getOperator
public String[] getOperator()
Get 允许使用的运算符- Returns:
- Operator 允许使用的运算符
-
setOperator
public void setOperator(String[] Operator)
Set 允许使用的运算符- Parameters:
Operator- 允许使用的运算符
-
getPeriod
public Long[] getPeriod()
Get 允许配置的数据周期,以秒为单位- Returns:
- Period 允许配置的数据周期,以秒为单位
-
setPeriod
public void setPeriod(Long[] Period)
Set 允许配置的数据周期,以秒为单位- Parameters:
Period- 允许配置的数据周期,以秒为单位
-
getContinuePeriod
public Long[] getContinuePeriod()
Get 允许配置的持续周期个数- Returns:
- ContinuePeriod 允许配置的持续周期个数
-
setContinuePeriod
public void setContinuePeriod(Long[] ContinuePeriod)
Set 允许配置的持续周期个数- Parameters:
ContinuePeriod- 允许配置的持续周期个数
-
-