@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledUpdateGroupAction extends Object implements Serializable, Cloneable
Describes a scheduled scaling action.
Constructor and Description |
---|
ScheduledUpdateGroupAction() |
Modifier and Type | Method and Description |
---|---|
ScheduledUpdateGroupAction |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
Integer |
getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the
capacity it attempts to maintain.
|
Date |
getEndTime()
The date and time in UTC for the recurring schedule to end.
|
Integer |
getMaxSize()
The maximum size of the Auto Scaling group.
|
Integer |
getMinSize()
The minimum size of the Auto Scaling group.
|
String |
getRecurrence()
The recurring schedule for the action, in Unix cron syntax format.
|
String |
getScheduledActionARN()
The Amazon Resource Name (ARN) of the scheduled action.
|
String |
getScheduledActionName()
The name of the scheduled action.
|
Date |
getStartTime()
The date and time in UTC for this action to start.
|
Date |
getTime()
This property is no longer used.
|
String |
getTimeZone()
The time zone for the cron expression.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the
capacity it attempts to maintain.
|
void |
setEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end.
|
void |
setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
void |
setRecurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.
|
void |
setScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
|
void |
setScheduledActionName(String scheduledActionName)
The name of the scheduled action.
|
void |
setStartTime(Date startTime)
The date and time in UTC for this action to start.
|
void |
setTime(Date time)
This property is no longer used.
|
void |
setTimeZone(String timeZone)
The time zone for the cron expression.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledUpdateGroupAction |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the
capacity it attempts to maintain.
|
ScheduledUpdateGroupAction |
withEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end.
|
ScheduledUpdateGroupAction |
withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withRecurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.
|
ScheduledUpdateGroupAction |
withScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
|
ScheduledUpdateGroupAction |
withScheduledActionName(String scheduledActionName)
The name of the scheduled action.
|
ScheduledUpdateGroupAction |
withStartTime(Date startTime)
The date and time in UTC for this action to start.
|
ScheduledUpdateGroupAction |
withTime(Date time)
This property is no longer used.
|
ScheduledUpdateGroupAction |
withTimeZone(String timeZone)
The time zone for the cron expression.
|
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setScheduledActionName(String scheduledActionName)
The name of the scheduled action.
scheduledActionName
- The name of the scheduled action.public String getScheduledActionName()
The name of the scheduled action.
public ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)
The name of the scheduled action.
scheduledActionName
- The name of the scheduled action.public void setScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.public String getScheduledActionARN()
The Amazon Resource Name (ARN) of the scheduled action.
public ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.public void setTime(Date time)
This property is no longer used.
time
- This property is no longer used.public Date getTime()
This property is no longer used.
public ScheduledUpdateGroupAction withTime(Date time)
This property is no longer used.
time
- This property is no longer used.public void setStartTime(Date startTime)
The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.
startTime
- The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.public Date getStartTime()
The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.
"2019-06-01T00:00:00Z"
.public ScheduledUpdateGroupAction withStartTime(Date startTime)
The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.
startTime
- The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.public void setEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z"
.
endTime
- The date and time in UTC for the recurring schedule to end. For example,
"2019-06-01T00:00:00Z"
.public Date getEndTime()
The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z"
.
"2019-06-01T00:00:00Z"
.public ScheduledUpdateGroupAction withEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z"
.
endTime
- The date and time in UTC for the recurring schedule to end. For example,
"2019-06-01T00:00:00Z"
.public void setRecurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
recurrence
- The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action starts and stops.
public String getRecurrence()
The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
public ScheduledUpdateGroupAction withRecurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
recurrence
- The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action starts and stops.
public void setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
minSize
- The minimum size of the Auto Scaling group.public Integer getMinSize()
The minimum size of the Auto Scaling group.
public ScheduledUpdateGroupAction withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
minSize
- The minimum size of the Auto Scaling group.public void setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
maxSize
- The maximum size of the Auto Scaling group.public Integer getMaxSize()
The maximum size of the Auto Scaling group.
public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
maxSize
- The maximum size of the Auto Scaling group.public void setDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and
the capacity it attempts to maintain.public Integer getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and
the capacity it attempts to maintain.public void setTimeZone(String timeZone)
The time zone for the cron expression.
timeZone
- The time zone for the cron expression.public String getTimeZone()
The time zone for the cron expression.
public ScheduledUpdateGroupAction withTimeZone(String timeZone)
The time zone for the cron expression.
timeZone
- The time zone for the cron expression.public String toString()
toString
in class Object
Object.toString()
public ScheduledUpdateGroupAction clone()