public class DescribeCPUExpandStrategyInfoResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeCPUExpandStrategyInfoResponse() |
DescribeCPUExpandStrategyInfoResponse(DescribeCPUExpandStrategyInfoResponse 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 |
---|---|
AutoStrategy |
getAutoStrategy()
Get 自动扩容策略。Type 为 auto 时有效。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getExpandCpu()
Get 自定义扩容,且扩容时间为立即生效时的 CPU。Type 为 manual 时有效。
注意:此字段可能返回 null,表示取不到有效值。
|
PeriodStrategy |
getPeriodStrategy()
Get 按周期扩容策略。当 Type 为 period 时有效。
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
TimeIntervalStrategy |
getTimeIntervalStrategy()
Get 按时间段扩容策略。当 Type 为 timeInterval 时有效。
|
String |
getType()
Get 策略类型。输出值:auto、manual、timeInterval、period。
说明:1.
|
void |
setAutoStrategy(AutoStrategy AutoStrategy)
Set 自动扩容策略。Type 为 auto 时有效。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setExpandCpu(Long ExpandCpu)
Set 自定义扩容,且扩容时间为立即生效时的 CPU。Type 为 manual 时有效。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPeriodStrategy(PeriodStrategy PeriodStrategy)
Set 按周期扩容策略。当 Type 为 period 时有效。
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setTimeIntervalStrategy(TimeIntervalStrategy TimeIntervalStrategy)
Set 按时间段扩容策略。当 Type 为 timeInterval 时有效。
|
void |
setType(String Type)
Set 策略类型。输出值:auto、manual、timeInterval、period。
说明:1.
|
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 DescribeCPUExpandStrategyInfoResponse()
public DescribeCPUExpandStrategyInfoResponse(DescribeCPUExpandStrategyInfoResponse source)
public String getType()
public void setType(String Type)
Type
- 策略类型。输出值:auto、manual、timeInterval、period。
说明:1. auto 表示自动扩容。2. manual 表示自定义扩容,扩容时间为立即生效。3. timeInterval 表示自定义扩容,扩容时间为按时间段。4. period 表示自定义扩容,扩容时间为按周期。5. 如果返回为 NULL 说明尚未开通弹性扩容策略。
注意:此字段可能返回 null,表示取不到有效值。public Long getExpandCpu()
public void setExpandCpu(Long ExpandCpu)
ExpandCpu
- 自定义扩容,且扩容时间为立即生效时的 CPU。Type 为 manual 时有效。
注意:此字段可能返回 null,表示取不到有效值。public AutoStrategy getAutoStrategy()
public void setAutoStrategy(AutoStrategy AutoStrategy)
AutoStrategy
- 自动扩容策略。Type 为 auto 时有效。
注意:此字段可能返回 null,表示取不到有效值。public PeriodStrategy getPeriodStrategy()
public void setPeriodStrategy(PeriodStrategy PeriodStrategy)
PeriodStrategy
- 按周期扩容策略。当 Type 为 period 时有效。public TimeIntervalStrategy getTimeIntervalStrategy()
public void setTimeIntervalStrategy(TimeIntervalStrategy TimeIntervalStrategy)
TimeIntervalStrategy
- 按时间段扩容策略。当 Type 为 timeInterval 时有效。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.