public class ScheduledAction extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ScheduledAction() | 
| ScheduledAction(ScheduledAction 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 | getAutoScalingGroupId()Get 定时任务所在伸缩组ID。 | 
| String | getCreatedTime()Get 定时任务的创建时间。取值为标准`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。 | 
| Long | getDesiredCapacity()Get 定时任务设置的期望实例数。 | 
| String | getEndTime()Get 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 | 
| Long | getMaxSize()Get 定时任务设置的最大实例数。 | 
| Long | getMinSize()Get 定时任务设置的最小实例数。 | 
| String | getRecurrence()Get 定时任务的重复方式。定时任务中的[Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119)为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。 | 
| String | getScheduledActionId()Get 定时任务ID。 | 
| String | getScheduledActionName()Get 定时任务名称。 | 
| String | getScheduledType()Get 定时任务的执行类型。取值范围:
CRONTAB:代表定时任务为重复执行。
ONCE:代表定时任务为单次执行。 | 
| String | getStartTime()Get 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 | 
| void | setAutoScalingGroupId(String AutoScalingGroupId)Set 定时任务所在伸缩组ID。 | 
| void | setCreatedTime(String CreatedTime)Set 定时任务的创建时间。取值为标准`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。 | 
| void | setDesiredCapacity(Long DesiredCapacity)Set 定时任务设置的期望实例数。 | 
| void | setEndTime(String EndTime)Set 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 | 
| void | setMaxSize(Long MaxSize)Set 定时任务设置的最大实例数。 | 
| void | setMinSize(Long MinSize)Set 定时任务设置的最小实例数。 | 
| void | setRecurrence(String Recurrence)Set 定时任务的重复方式。定时任务中的[Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119)为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。 | 
| void | setScheduledActionId(String ScheduledActionId)Set 定时任务ID。 | 
| void | setScheduledActionName(String ScheduledActionName)Set 定时任务名称。 | 
| void | setScheduledType(String ScheduledType)Set 定时任务的执行类型。取值范围:
CRONTAB:代表定时任务为重复执行。
ONCE:代表定时任务为单次执行。 | 
| void | setStartTime(String StartTime)Set 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。 | 
| 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, toJsonStringpublic ScheduledAction()
public ScheduledAction(ScheduledAction source)
public String getScheduledActionId()
public void setScheduledActionId(String ScheduledActionId)
ScheduledActionId - 定时任务ID。public String getScheduledActionName()
public void setScheduledActionName(String ScheduledActionName)
ScheduledActionName - 定时任务名称。public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId - 定时任务所在伸缩组ID。public String getStartTime()
public void setStartTime(String StartTime)
StartTime - 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。public String getRecurrence()
public void setRecurrence(String Recurrence)
Recurrence - 定时任务的重复方式。定时任务中的[Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119)为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。public String getEndTime()
public void setEndTime(String EndTime)
EndTime - 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - 定时任务设置的最大实例数。public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity - 定时任务设置的期望实例数。public Long getMinSize()
public void setMinSize(Long MinSize)
MinSize - 定时任务设置的最小实例数。public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - 定时任务的创建时间。取值为标准`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。public String getScheduledType()
public void setScheduledType(String ScheduledType)
ScheduledType - 定时任务的执行类型。取值范围:
Copyright © 2025. All rights reserved.