public class LoadMetricsCondition extends AbstractModel
header, skipSign
Constructor and Description |
---|
LoadMetricsCondition() |
LoadMetricsCondition(LoadMetricsCondition 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 |
---|---|
TriggerCondition[] |
getConditions()
Get 触发条件
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLoadMetrics()
Get 扩缩容负载指标。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMetricId()
Get 规则元数据记录ID。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getStatisticPeriod()
Get 规则统计周期,提供1min,3min,5min。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTriggerThreshold()
Get 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConditions(TriggerCondition[] Conditions)
Set 触发条件
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLoadMetrics(String LoadMetrics)
Set 扩缩容负载指标。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetricId(Long MetricId)
Set 规则元数据记录ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStatisticPeriod(Long StatisticPeriod)
Set 规则统计周期,提供1min,3min,5min。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTriggerThreshold(Long TriggerThreshold)
Set 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。
注意:此字段可能返回 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 LoadMetricsCondition()
public LoadMetricsCondition(LoadMetricsCondition source)
public Long getStatisticPeriod()
public void setStatisticPeriod(Long StatisticPeriod)
StatisticPeriod
- 规则统计周期,提供1min,3min,5min。
注意:此字段可能返回 null,表示取不到有效值。public Long getTriggerThreshold()
public void setTriggerThreshold(Long TriggerThreshold)
TriggerThreshold
- 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。
注意:此字段可能返回 null,表示取不到有效值。public String getLoadMetrics()
public void setLoadMetrics(String LoadMetrics)
LoadMetrics
- 扩缩容负载指标。
注意:此字段可能返回 null,表示取不到有效值。public Long getMetricId()
public void setMetricId(Long MetricId)
MetricId
- 规则元数据记录ID。
注意:此字段可能返回 null,表示取不到有效值。public TriggerCondition[] getConditions()
public void setConditions(TriggerCondition[] Conditions)
Conditions
- 触发条件
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.