public class ModifyScheduledActionRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyScheduledActionRequest() |
ModifyScheduledActionRequest(ModifyScheduledActionRequest 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 |
---|---|
Long |
getDesiredCapacity()
Get The desired number of instances set for the auto scaling group when the scheduled task is triggered.
|
String |
getEndTime()
Get End time of the scheduled task.
|
Long |
getMaxSize()
Get The maximum number of instances set for the auto scaling group when the scheduled task is triggered.
|
Long |
getMinSize()
Get The minimum number of instances set for the auto scaling group when the scheduled task is triggered.
|
String |
getRecurrence()
Get The repeating mode of the scheduled task.
|
String |
getScheduledActionId()
Get Scheduled task ID that needs modification.
|
String |
getScheduledActionName()
Get Scheduled task name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 60 bytes and must be unique in an auto scaling group.
|
String |
getStartTime()
Get Initial triggered time of the scheduled task.
|
void |
setDesiredCapacity(Long DesiredCapacity)
Set The desired number of instances set for the auto scaling group when the scheduled task is triggered.
|
void |
setEndTime(String EndTime)
Set End time of the scheduled task.
|
void |
setMaxSize(Long MaxSize)
Set The maximum number of instances set for the auto scaling group when the scheduled task is triggered.
|
void |
setMinSize(Long MinSize)
Set The minimum number of instances set for the auto scaling group when the scheduled task is triggered.
|
void |
setRecurrence(String Recurrence)
Set The repeating mode of the scheduled task.
|
void |
setScheduledActionId(String ScheduledActionId)
Set Scheduled task ID that needs modification.
|
void |
setScheduledActionName(String ScheduledActionName)
Set Scheduled task name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 60 bytes and must be unique in an auto scaling group.
|
void |
setStartTime(String StartTime)
Set Initial triggered time of the scheduled task.
|
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 ModifyScheduledActionRequest()
public ModifyScheduledActionRequest(ModifyScheduledActionRequest source)
public String getScheduledActionId()
public void setScheduledActionId(String ScheduledActionId)
ScheduledActionId
- Scheduled task ID that needs modification. obtain the scheduled task ID by calling the api [DescribeScheduledActions](https://intl.cloud.tencent.com/document/api/377/20450?from_cn_redirect=1) and retrieving the ScheduledActionId from the returned information.public String getScheduledActionName()
public void setScheduledActionName(String ScheduledActionName)
ScheduledActionName
- Scheduled task name, which can only contain letters, numbers, underscores, hyphens ("-"), and decimal points with a maximum length of 60 bytes and must be unique in an auto scaling group.public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize
- The maximum number of instances set for the auto scaling group when the scheduled task is triggered.public Long getMinSize()
public void setMinSize(Long MinSize)
MinSize
- The minimum number of instances set for the auto scaling group when the scheduled task is triggered.public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity
- The desired number of instances set for the auto scaling group when the scheduled task is triggered.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Initial triggered time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard. public String getRecurrence()
public void setRecurrence(String Recurrence)
Recurrence
- The repeating mode of the scheduled task. follows the standard Cron format. the Recurrence parameter limits (https://intl.cloud.tencent.com/document/product/377/88119?from_cn_redirect=1) consist of 5 fields separated by space, with the structure: minute, hr, date, month, week. this parameter must be simultaneously specified with `EndTime`.Copyright © 2025. All rights reserved.