public class SLARule extends AbstractModel
header, skipSign
Constructor and Description |
---|
SLARule() |
SLARule(SLARule 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.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAbortFlag()
Get 是否停止压测任务
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getAggregation()
Get 压测指标聚合方法
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCondition()
Get 压测指标条件判断符号
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getFor()
Get 持续时长
注意:此字段可能返回 null,表示取不到有效值。
|
SLALabel[] |
getLabelFilter()
Get 标签
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMetric()
Get 压测指标
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getValue()
Get 阈值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAbortFlag(Boolean AbortFlag)
Set 是否停止压测任务
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAggregation(String Aggregation)
Set 压测指标聚合方法
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCondition(String Condition)
Set 压测指标条件判断符号
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFor(String For)
Set 持续时长
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLabelFilter(SLALabel[] LabelFilter)
Set 标签
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetric(String Metric)
Set 压测指标
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setValue(Float Value)
Set 阈值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SLARule()
public SLARule(SLARule source)
public String getMetric()
public void setMetric(String Metric)
Metric
- 压测指标
注意:此字段可能返回 null,表示取不到有效值。public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation
- 压测指标聚合方法
注意:此字段可能返回 null,表示取不到有效值。public String getCondition()
public void setCondition(String Condition)
Condition
- 压测指标条件判断符号
注意:此字段可能返回 null,表示取不到有效值。public Float getValue()
public void setValue(Float Value)
Value
- 阈值
注意:此字段可能返回 null,表示取不到有效值。public SLALabel[] getLabelFilter()
public void setLabelFilter(SLALabel[] LabelFilter)
LabelFilter
- 标签
注意:此字段可能返回 null,表示取不到有效值。public Boolean getAbortFlag()
public void setAbortFlag(Boolean AbortFlag)
AbortFlag
- 是否停止压测任务
注意:此字段可能返回 null,表示取不到有效值。public String getFor()
public void setFor(String For)
For
- 持续时长
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.