Class ModifyDesiredCapacityRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.as.v20180419.models.ModifyDesiredCapacityRequest
-
public class ModifyDesiredCapacityRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyDesiredCapacityRequest()
ModifyDesiredCapacityRequest(ModifyDesiredCapacityRequest 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 String
getAutoScalingGroupId()
Get 伸缩组IDLong
getDesiredCapacity()
Get 期望实例数Long
getMaxSize()
Get 最大实例数,取值范围为0-2000。Long
getMinSize()
Get 最小实例数,取值范围为0-2000。void
setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组IDvoid
setDesiredCapacity(Long DesiredCapacity)
Set 期望实例数void
setMaxSize(Long MaxSize)
Set 最大实例数,取值范围为0-2000。void
setMinSize(Long MinSize)
Set 最小实例数,取值范围为0-2000。void
toMap(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
-
ModifyDesiredCapacityRequest
public ModifyDesiredCapacityRequest()
-
ModifyDesiredCapacityRequest
public ModifyDesiredCapacityRequest(ModifyDesiredCapacityRequest 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
-
getAutoScalingGroupId
public String getAutoScalingGroupId()
Get 伸缩组ID- Returns:
- AutoScalingGroupId 伸缩组ID
-
setAutoScalingGroupId
public void setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID- Parameters:
AutoScalingGroupId
- 伸缩组ID
-
getDesiredCapacity
public Long getDesiredCapacity()
Get 期望实例数- Returns:
- DesiredCapacity 期望实例数
-
setDesiredCapacity
public void setDesiredCapacity(Long DesiredCapacity)
Set 期望实例数- Parameters:
DesiredCapacity
- 期望实例数
-
getMinSize
public Long getMinSize()
Get 最小实例数,取值范围为0-2000。- Returns:
- MinSize 最小实例数,取值范围为0-2000。
-
setMinSize
public void setMinSize(Long MinSize)
Set 最小实例数,取值范围为0-2000。- Parameters:
MinSize
- 最小实例数,取值范围为0-2000。
-
getMaxSize
public Long getMaxSize()
Get 最大实例数,取值范围为0-2000。- Returns:
- MaxSize 最大实例数,取值范围为0-2000。
-
setMaxSize
public void setMaxSize(Long MaxSize)
Set 最大实例数,取值范围为0-2000。- Parameters:
MaxSize
- 最大实例数,取值范围为0-2000。
-
-