Class MetricConfig
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.MetricConfig
-
public class MetricConfig extends Object
流量配置
-
-
Constructor Summary
Constructors Constructor Description MetricConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetMin()流量最小值StringgetName()流量配置名称IntegergetThreshold()流量阈值StringgetType()流量配置类型inthashCode()voidsetMin(Integer min)voidsetName(String name)voidsetThreshold(Integer threshold)voidsetType(String type)StringtoString()MetricConfigwithMin(Integer min)MetricConfigwithName(String name)MetricConfigwithThreshold(Integer threshold)MetricConfigwithType(String type)
-
-
-
Method Detail
-
withName
public MetricConfig withName(String name)
-
getName
public String getName()
流量配置名称- Returns:
- name
-
setName
public void setName(String name)
-
withType
public MetricConfig withType(String type)
-
getType
public String getType()
流量配置类型- Returns:
- type
-
setType
public void setType(String type)
-
withThreshold
public MetricConfig withThreshold(Integer threshold)
-
getThreshold
public Integer getThreshold()
流量阈值- Returns:
- threshold
-
setThreshold
public void setThreshold(Integer threshold)
-
withMin
public MetricConfig withMin(Integer min)
-
getMin
public Integer getMin()
流量最小值- Returns:
- min
-
setMin
public void setMin(Integer min)
-
-