Class StatisticItem

    • 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
      Long getAlertPercentage()
      Get 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。
      String getAlertSwitch()
      Get 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      Long getBpsThreshold()
      Get 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。
      String getCounterMeasure()
      Get 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。
      Long getCycle()
      Get 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。
      String getMetric()
      Get 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。
      String getSwitch()
      Get 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      String getType()
      Get 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。
      Long getUnBlockTime()
      Get 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。
      void setAlertPercentage​(Long AlertPercentage)
      Set 触发提醒阈值百分比 注意:此字段可能返回 null,表示取不到有效值。
      void setAlertSwitch​(String AlertSwitch)
      Set 累计用量封顶告警配置,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      void setBpsThreshold​(Long BpsThreshold)
      Set 带宽、流量阈值 注意:此字段可能返回 null,表示取不到有效值。
      void setCounterMeasure​(String CounterMeasure)
      Set 关闭方式 返回404:RETURN_404, dns回源:RESOLVE_DNS_TO_ORIGIN 注意:此字段可能返回 null,表示取不到有效值。
      void setCycle​(Long Cycle)
      Set 检测周期,单位分钟,60或1440 注意:此字段可能返回 null,表示取不到有效值。
      void setMetric​(String Metric)
      Set 指标类型,流量flux或带宽bandwidth 注意:此字段可能返回 null,表示取不到有效值。
      void setSwitch​(String Switch)
      Set 累计用量封顶配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      void setType​(String Type)
      Set 封顶类型,累计用量total,瞬时用量moment 注意:此字段可能返回 null,表示取不到有效值。
      void setUnBlockTime​(Long UnBlockTime)
      Set 自动解封时间 注意:此字段可能返回 null,表示取不到有效值。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • 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,表示取不到有效值。