public class CreateScheduledActionRequest extends AbstractModel
Constructor and Description |
---|
CreateScheduledActionRequest() |
CreateScheduledActionRequest(CreateScheduledActionRequest 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 Auto scaling group ID
|
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 Repeating mode of the scheduled task, which is in standard cron format.
|
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 |
setAutoScalingGroupId(String AutoScalingGroupId)
Set Auto scaling group ID
|
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 Repeating mode of the scheduled task, which is in standard cron format.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateScheduledActionRequest()
public CreateScheduledActionRequest(CreateScheduledActionRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- Auto scaling group IDpublic 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
- Repeating mode of the scheduled task, which is in standard cron format. Copyright © 2023. All rights reserved.