public class Autoscaler extends AbstractModel
Constructor and Description |
---|
Autoscaler() |
Autoscaler(Autoscaler 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 |
---|---|
String |
getAutoscalerId()
Get 弹性伸缩ID
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getAutoscalerName()
Get 弹性伸缩名称
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCreateDate()
Get 创建日期
注意:此字段可能返回 null,表示取不到有效值。
|
CronHorizontalAutoscaler[] |
getCronHorizontalAutoscaler()
Get 定时弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDescription()
Get 弹性伸缩描述
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getEnabled()
Get 是否启用
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getEnableDate()
Get 启用时间
注意:此字段可能返回 null,表示取不到有效值。
|
HorizontalAutoscaler[] |
getHorizontalAutoscaler()
Get 指标弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxReplicas()
Get 弹性伸缩最大实例数
|
Long |
getMinReplicas()
Get 弹性伸缩最小实例数
|
String |
getModifyDate()
Get 修改时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAutoscalerId(String AutoscalerId)
Set 弹性伸缩ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAutoscalerName(String AutoscalerName)
Set 弹性伸缩名称
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCreateDate(String CreateDate)
Set 创建日期
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
Set 定时弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDescription(String Description)
Set 弹性伸缩描述
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEnabled(Boolean Enabled)
Set 是否启用
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEnableDate(String EnableDate)
Set 启用时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
Set 指标弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxReplicas(Long MaxReplicas)
Set 弹性伸缩最大实例数
|
void |
setMinReplicas(Long MinReplicas)
Set 弹性伸缩最小实例数
|
void |
setModifyDate(String ModifyDate)
Set 修改时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Autoscaler()
public Autoscaler(Autoscaler source)
public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas
- 弹性伸缩最小实例数public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas
- 弹性伸缩最大实例数public HorizontalAutoscaler[] getHorizontalAutoscaler()
public void setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
HorizontalAutoscaler
- 指标弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。public CronHorizontalAutoscaler[] getCronHorizontalAutoscaler()
public void setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
CronHorizontalAutoscaler
- 定时弹性伸缩策略
注意:此字段可能返回 null,表示取不到有效值。public String getAutoscalerId()
public void setAutoscalerId(String AutoscalerId)
AutoscalerId
- 弹性伸缩ID
注意:此字段可能返回 null,表示取不到有效值。public String getAutoscalerName()
public void setAutoscalerName(String AutoscalerName)
AutoscalerName
- 弹性伸缩名称
注意:此字段可能返回 null,表示取不到有效值。public String getDescription()
public void setDescription(String Description)
Description
- 弹性伸缩描述
注意:此字段可能返回 null,表示取不到有效值。public String getCreateDate()
public void setCreateDate(String CreateDate)
CreateDate
- 创建日期
注意:此字段可能返回 null,表示取不到有效值。public String getModifyDate()
public void setModifyDate(String ModifyDate)
ModifyDate
- 修改时间
注意:此字段可能返回 null,表示取不到有效值。public String getEnableDate()
public void setEnableDate(String EnableDate)
EnableDate
- 启用时间
注意:此字段可能返回 null,表示取不到有效值。public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled
- 是否启用
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.