Class TrafficFlow
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.TrafficFlow
-
public class TrafficFlow extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TrafficFlow()TrafficFlow(TrafficFlow 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 StringgetFormatUnit()Get 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。FloatgetFormatValue()Get 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。LonggetValue()Get 实际流量,单位为 字节voidsetFormatUnit(String FormatUnit)Set 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。voidsetFormatValue(Float FormatValue)Set 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。voidsetValue(Long Value)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
-
TrafficFlow
public TrafficFlow()
-
TrafficFlow
public TrafficFlow(TrafficFlow 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
-
getValue
public Long getValue()
Get 实际流量,单位为 字节- Returns:
- Value 实际流量,单位为 字节
-
setValue
public void setValue(Long Value)
Set 实际流量,单位为 字节- Parameters:
Value- 实际流量,单位为 字节
-
getFormatValue
public Float getFormatValue()
Get 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FormatValue 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
-
setFormatValue
public void setFormatValue(Float FormatValue)
Set 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FormatValue- 格式化后的流量,单位见参数 FormatUnit 注意:此字段可能返回 null,表示取不到有效值。
-
getFormatUnit
public String getFormatUnit()
Get 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FormatUnit 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。
-
setFormatUnit
public void setFormatUnit(String FormatUnit)
Set 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FormatUnit- 格式化后流量的单位 注意:此字段可能返回 null,表示取不到有效值。
-
-