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 Whether to stop performance test job. 
 | 
String | 
getAggregation()
Get Metric aggregation method. 
 | 
String | 
getCondition()
Get Condition, such as '==' '!=' '<' '<=' '>' '>='. 
 | 
String | 
getFor()
Get Duration. 
 | 
SLALabel[] | 
getLabelFilter()
Get Label. 
 | 
String | 
getMetric()
Get Metric. 
 | 
Float | 
getValue()
Get Threshold value. 
 | 
void | 
setAbortFlag(Boolean AbortFlag)
Set Whether to stop performance test job. 
 | 
void | 
setAggregation(String Aggregation)
Set Metric aggregation method. 
 | 
void | 
setCondition(String Condition)
Set Condition, such as '==' '!=' '<' '<=' '>' '>='. 
 | 
void | 
setFor(String For)
Set Duration. 
 | 
void | 
setLabelFilter(SLALabel[] LabelFilter)
Set Label. 
 | 
void | 
setMetric(String Metric)
Set Metric. 
 | 
void | 
setValue(Float Value)
Set Threshold value. 
 | 
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, toJsonStringpublic SLARule()
public SLARule(SLARule source)
public String getMetric()
public void setMetric(String Metric)
Metric - Metric.
Note: This field may return null, indicating that no valid value is found.public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation - Metric aggregation method.
Note: This field may return null, indicating that no valid value is found.public String getCondition()
public void setCondition(String Condition)
Condition - Condition, such as '==' '!=' '<' '<=' '>' '>='.
Note: This field may return null, indicating that no valid value is found.public Float getValue()
public void setValue(Float Value)
Value - Threshold value.
Note: This field may return null, indicating that no valid value is found.public SLALabel[] getLabelFilter()
public void setLabelFilter(SLALabel[] LabelFilter)
LabelFilter - Label.
Note: This field may return null, indicating that no valid value is found.public Boolean getAbortFlag()
public void setAbortFlag(Boolean AbortFlag)
AbortFlag - Whether to stop performance test job.
Note: This field may return null, indicating that no valid value is found.public String getFor()
public void setFor(String For)
For - Duration.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.