Class AutoScalerPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tse.v20201207.models.AutoScalerPolicy
-
public class AutoScalerPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AutoScalerPolicy()AutoScalerPolicy(AutoScalerPolicy 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 LonggetPeriodSeconds()Get 扩容周期 注意:此字段可能返回 null,表示取不到有效值。StringgetType()Get 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。LonggetValue()Get 数量 注意:此字段可能返回 null,表示取不到有效值。voidsetPeriodSeconds(Long PeriodSeconds)Set 扩容周期 注意:此字段可能返回 null,表示取不到有效值。voidsetType(String Type)Set 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。voidsetValue(Long Value)Set 数量 注意:此字段可能返回 null,表示取不到有效值。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
-
AutoScalerPolicy
public AutoScalerPolicy()
-
AutoScalerPolicy
public AutoScalerPolicy(AutoScalerPolicy 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
-
getType
public String getType()
Get 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Type 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。
-
setType
public void setType(String Type)
Set 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Type- 类型,Pods或Percent 注意:此字段可能返回 null,表示取不到有效值。
-
getValue
public Long getValue()
Get 数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Value 数量 注意:此字段可能返回 null,表示取不到有效值。
-
setValue
public void setValue(Long Value)
Set 数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Value- 数量 注意:此字段可能返回 null,表示取不到有效值。
-
getPeriodSeconds
public Long getPeriodSeconds()
Get 扩容周期 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PeriodSeconds 扩容周期 注意:此字段可能返回 null,表示取不到有效值。
-
setPeriodSeconds
public void setPeriodSeconds(Long PeriodSeconds)
Set 扩容周期 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PeriodSeconds- 扩容周期 注意:此字段可能返回 null,表示取不到有效值。
-
-