Class SetAutoScalingConfigurationRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.thpc.v20230321.models.SetAutoScalingConfigurationRequest
-
public class SetAutoScalingConfigurationRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetAutoScalingConfigurationRequest()SetAutoScalingConfigurationRequest(SetAutoScalingConfigurationRequest 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 StringgetClusterId()Get 集群ID。BooleangetDryRun()Get 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。LonggetExpansionBusyTime()Get 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。QueueConfig[]getQueueConfigs()Get 扩容队列配置列表。LonggetShrinkIdleTime()Get 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。voidsetClusterId(String ClusterId)Set 集群ID。voidsetDryRun(Boolean DryRun)Set 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。voidsetExpansionBusyTime(Long ExpansionBusyTime)Set 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。voidsetQueueConfigs(QueueConfig[] QueueConfigs)Set 扩容队列配置列表。voidsetShrinkIdleTime(Long ShrinkIdleTime)Set 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。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
-
SetAutoScalingConfigurationRequest
public SetAutoScalingConfigurationRequest()
-
SetAutoScalingConfigurationRequest
public SetAutoScalingConfigurationRequest(SetAutoScalingConfigurationRequest 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
-
getClusterId
public String getClusterId()
Get 集群ID。- Returns:
- ClusterId 集群ID。
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群ID。- Parameters:
ClusterId- 集群ID。
-
getExpansionBusyTime
public Long getExpansionBusyTime()
Get 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。- Returns:
- ExpansionBusyTime 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。
-
setExpansionBusyTime
public void setExpansionBusyTime(Long ExpansionBusyTime)
Set 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。- Parameters:
ExpansionBusyTime- 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。
-
getShrinkIdleTime
public Long getShrinkIdleTime()
Get 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。- Returns:
- ShrinkIdleTime 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。
-
setShrinkIdleTime
public void setShrinkIdleTime(Long ShrinkIdleTime)
Set 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。- Parameters:
ShrinkIdleTime- 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。
-
getQueueConfigs
public QueueConfig[] getQueueConfigs()
Get 扩容队列配置列表。- Returns:
- QueueConfigs 扩容队列配置列表。
-
setQueueConfigs
public void setQueueConfigs(QueueConfig[] QueueConfigs)
Set 扩容队列配置列表。- Parameters:
QueueConfigs- 扩容队列配置列表。
-
getDryRun
public Boolean getDryRun()
Get 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。- Returns:
- DryRun 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。
-
setDryRun
public void setDryRun(Boolean DryRun)
Set 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。- Parameters:
DryRun- 是否只预检此次请求。 true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。 如果检查不通过,则返回对应错误码; 如果检查通过,则返回RequestId。 false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。
-
-