Class StatisticItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.StatisticItem
-
public class StatisticItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StatisticItem()StatisticItem(StatisticItem 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 LonggetAlertPercentage()Get 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。StringgetAlertSwitch()Get 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。LonggetBpsThreshold()Get 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。StringgetCounterMeasure()Get 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。LonggetCycle()Get 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。StringgetMetric()Get 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。StringgetType()Get 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。LonggetUnBlockTime()Get 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。voidsetAlertPercentage(Long AlertPercentage)Set 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。voidsetAlertSwitch(String AlertSwitch)Set 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。voidsetBpsThreshold(Long BpsThreshold)Set 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。voidsetCounterMeasure(String CounterMeasure)Set 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。voidsetCycle(Long Cycle)Set 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。voidsetMetric(String Metric)Set 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。voidsetType(String Type)Set 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。voidsetUnBlockTime(Long UnBlockTime)Set 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。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
-
StatisticItem
public StatisticItem()
-
StatisticItem
public StatisticItem(StatisticItem 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
-
getType
public String getType()
Get 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Type 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。
-
setType
public void setType(String Type)
Set 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Type- 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。
-
getUnBlockTime
public Long getUnBlockTime()
Get 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UnBlockTime 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。
-
setUnBlockTime
public void setUnBlockTime(Long UnBlockTime)
Set 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UnBlockTime- 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。
-
getBpsThreshold
public Long getBpsThreshold()
Get 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BpsThreshold 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。
-
setBpsThreshold
public void setBpsThreshold(Long BpsThreshold)
Set 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BpsThreshold- 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。
-
getCounterMeasure
public String getCounterMeasure()
Get 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CounterMeasure 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。
-
setCounterMeasure
public void setCounterMeasure(String CounterMeasure)
Set 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CounterMeasure- 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。
-
getAlertPercentage
public Long getAlertPercentage()
Get 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertPercentage 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertPercentage
public void setAlertPercentage(Long AlertPercentage)
Set 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertPercentage- 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。
-
getAlertSwitch
public String getAlertSwitch()
Get 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlertSwitch 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
setAlertSwitch
public void setAlertSwitch(String AlertSwitch)
Set 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlertSwitch- 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
getMetric
public String getMetric()
Get 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Metric 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。
-
setMetric
public void setMetric(String Metric)
Set 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Metric- 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。
-
getCycle
public Long getCycle()
Get 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cycle 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。
-
setCycle
public void setCycle(Long Cycle)
Set 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cycle- 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。
-
getSwitch
public String getSwitch()
Get 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Switch 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
setSwitch
public void setSwitch(String Switch)
Set 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Switch- 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
-
-