Class ScheduledAction
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.as.v20180419.models.ScheduledAction
-
public class ScheduledAction extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoScalingGroupId()Get 定时任务所在伸缩组ID。StringgetCreatedTime()Get 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。LonggetDesiredCapacity()Get 定时任务设置的期望实例数。StringgetEndTime()Get 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。LonggetMaxSize()Get 定时任务设置的最大实例数。LonggetMinSize()Get 定时任务设置的最小实例数。StringgetRecurrence()Get 定时任务的重复方式。StringgetScheduledActionId()Get 定时任务ID。StringgetScheduledActionName()Get 定时任务名称。StringgetScheduledType()Get 定时任务的执行类型。取值范围:
CRONTAB:代表定时任务为重复执行。
ONCE:代表定时任务为单次执行。StringgetStartTime()Get 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。voidsetAutoScalingGroupId(String AutoScalingGroupId)Set 定时任务所在伸缩组ID。voidsetCreatedTime(String CreatedTime)Set 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。voidsetDesiredCapacity(Long DesiredCapacity)Set 定时任务设置的期望实例数。voidsetEndTime(String EndTime)Set 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。voidsetMaxSize(Long MaxSize)Set 定时任务设置的最大实例数。voidsetMinSize(Long MinSize)Set 定时任务设置的最小实例数。voidsetRecurrence(String Recurrence)Set 定时任务的重复方式。voidsetScheduledActionId(String ScheduledActionId)Set 定时任务ID。voidsetScheduledActionName(String ScheduledActionName)Set 定时任务名称。voidsetScheduledType(String ScheduledType)Set 定时任务的执行类型。取值范围:
CRONTAB:代表定时任务为重复执行。
ONCE:代表定时任务为单次执行。voidsetStartTime(String StartTime)Set 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。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
-
ScheduledAction
public ScheduledAction()
-
ScheduledAction
public 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.
-
-
Method Detail
-
getScheduledActionId
public String getScheduledActionId()
Get 定时任务ID。- Returns:
- ScheduledActionId 定时任务ID。
-
setScheduledActionId
public void setScheduledActionId(String ScheduledActionId)
Set 定时任务ID。- Parameters:
ScheduledActionId- 定时任务ID。
-
getScheduledActionName
public String getScheduledActionName()
Get 定时任务名称。- Returns:
- ScheduledActionName 定时任务名称。
-
setScheduledActionName
public void setScheduledActionName(String ScheduledActionName)
Set 定时任务名称。- Parameters:
ScheduledActionName- 定时任务名称。
-
getAutoScalingGroupId
public String getAutoScalingGroupId()
Get 定时任务所在伸缩组ID。- Returns:
- AutoScalingGroupId 定时任务所在伸缩组ID。
-
setAutoScalingGroupId
public void setAutoScalingGroupId(String AutoScalingGroupId)
Set 定时任务所在伸缩组ID。- Parameters:
AutoScalingGroupId- 定时任务所在伸缩组ID。
-
getStartTime
public String getStartTime()
Get 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。- Returns:
- StartTime 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
-
setStartTime
public void setStartTime(String StartTime)
Set 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。- Parameters:
StartTime- 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
-
getRecurrence
public String getRecurrence()
Get 定时任务的重复方式。- Returns:
- Recurrence 定时任务的重复方式。
-
setRecurrence
public void setRecurrence(String Recurrence)
Set 定时任务的重复方式。- Parameters:
Recurrence- 定时任务的重复方式。
-
getEndTime
public String getEndTime()
Get 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。- Returns:
- EndTime 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
-
setEndTime
public void setEndTime(String EndTime)
Set 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。- Parameters:
EndTime- 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
-
getMaxSize
public Long getMaxSize()
Get 定时任务设置的最大实例数。- Returns:
- MaxSize 定时任务设置的最大实例数。
-
setMaxSize
public void setMaxSize(Long MaxSize)
Set 定时任务设置的最大实例数。- Parameters:
MaxSize- 定时任务设置的最大实例数。
-
getDesiredCapacity
public Long getDesiredCapacity()
Get 定时任务设置的期望实例数。- Returns:
- DesiredCapacity 定时任务设置的期望实例数。
-
setDesiredCapacity
public void setDesiredCapacity(Long DesiredCapacity)
Set 定时任务设置的期望实例数。- Parameters:
DesiredCapacity- 定时任务设置的期望实例数。
-
getMinSize
public Long getMinSize()
Get 定时任务设置的最小实例数。- Returns:
- MinSize 定时任务设置的最小实例数。
-
setMinSize
public void setMinSize(Long MinSize)
Set 定时任务设置的最小实例数。- Parameters:
MinSize- 定时任务设置的最小实例数。
-
getCreatedTime
public String getCreatedTime()
Get 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。- Returns:
- CreatedTime 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。- Parameters:
CreatedTime- 定时任务的创建时间。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
-
getScheduledType
public String getScheduledType()
Get 定时任务的执行类型。取值范围:- CRONTAB:代表定时任务为重复执行。
- ONCE:代表定时任务为单次执行。
- Returns:
- ScheduledType 定时任务的执行类型。取值范围:
- CRONTAB:代表定时任务为重复执行。
- ONCE:代表定时任务为单次执行。
- CRONTAB:代表定时任务为重复执行。
- CRONTAB:代表定时任务为重复执行。
-
setScheduledType
public void setScheduledType(String ScheduledType)
Set 定时任务的执行类型。取值范围:- CRONTAB:代表定时任务为重复执行。
- ONCE:代表定时任务为单次执行。
- Parameters:
ScheduledType- 定时任务的执行类型。取值范围:- CRONTAB:代表定时任务为重复执行。
- ONCE:代表定时任务为单次执行。
- CRONTAB:代表定时任务为重复执行。
- CRONTAB:代表定时任务为重复执行。
-
-