Class ScheduledUpdateGroupAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a scheduled update to an Auto Scaling group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the group.The number of instances you prefer to maintain in the group.The date and time that the action is scheduled to end.The maximum size of the group.The minimum size of the group.The recurring schedule for the action.The Amazon Resource Name (ARN) of the scheduled action.The name of the scheduled action.The date and time that the action is scheduled to begin.getTime()
This parameter is deprecated.int
hashCode()
void
setAutoScalingGroupName
(String autoScalingGroupName) The name of the group.void
setDesiredCapacity
(Integer desiredCapacity) The number of instances you prefer to maintain in the group.void
setEndTime
(Date endTime) The date and time that the action is scheduled to end.void
setMaxSize
(Integer maxSize) The maximum size of the group.void
setMinSize
(Integer minSize) The minimum size of the group.void
setRecurrence
(String recurrence) The recurring schedule for the action.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 that the action is scheduled to begin.void
This parameter is deprecated.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingGroupName
(String autoScalingGroupName) The name of the group.withDesiredCapacity
(Integer desiredCapacity) The number of instances you prefer to maintain in the group.withEndTime
(Date endTime) The date and time that the action is scheduled to end.withMaxSize
(Integer maxSize) The maximum size of the group.withMinSize
(Integer minSize) The minimum size of the group.withRecurrence
(String recurrence) The recurring schedule for the action.withScheduledActionARN
(String scheduledActionARN) The Amazon Resource Name (ARN) of the scheduled action.withScheduledActionName
(String scheduledActionName) The name of the scheduled action.withStartTime
(Date startTime) The date and time that the action is scheduled to begin.This parameter is deprecated.
-
Constructor Details
-
ScheduledUpdateGroupAction
public ScheduledUpdateGroupAction()
-
-
Method Details
-
setAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.
-
getAutoScalingGroupName
The name of the group.
- Returns:
- The name of the group.
-
withAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduledActionName
The name of the scheduled action.
- Parameters:
scheduledActionName
- The name of the scheduled action.
-
getScheduledActionName
The name of the scheduled action.
- Returns:
- The name of the scheduled action.
-
withScheduledActionName
The name of the scheduled action.
- Parameters:
scheduledActionName
- The name of the scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduledActionARN
The Amazon Resource Name (ARN) of the scheduled action.
- Parameters:
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.
-
getScheduledActionARN
The Amazon Resource Name (ARN) of the scheduled action.
- Returns:
- The Amazon Resource Name (ARN) of the scheduled action.
-
withScheduledActionARN
The Amazon Resource Name (ARN) of the scheduled action.
- Parameters:
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTime
This parameter is deprecated.
- Parameters:
time
- This parameter is deprecated.
-
getTime
This parameter is deprecated.
- Returns:
- This parameter is deprecated.
-
withTime
This parameter is deprecated.
- Parameters:
time
- This parameter is deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Parameters:
startTime
- The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.
-
getStartTime
The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Returns:
- The date and time that the action is scheduled to begin. This
date and time can be up to one month in the future.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.
-
withStartTime
The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Parameters:
startTime
- The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndTime
The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
- Parameters:
endTime
- The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
-
getEndTime
The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
- Returns:
- The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
-
withEndTime
The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
- Parameters:
endTime
- The date and time that the action is scheduled to end. This date and time can be up to one month in the future.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecurrence
The recurring schedule for the action.
- Parameters:
recurrence
- The recurring schedule for the action.
-
getRecurrence
The recurring schedule for the action.
- Returns:
- The recurring schedule for the action.
-
withRecurrence
The recurring schedule for the action.
- Parameters:
recurrence
- The recurring schedule for the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMinSize
The minimum size of the group.
- Parameters:
minSize
- The minimum size of the group.
-
getMinSize
The minimum size of the group.
- Returns:
- The minimum size of the group.
-
withMinSize
The minimum size of the group.
- Parameters:
minSize
- The minimum size of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxSize
The maximum size of the group.
- Parameters:
maxSize
- The maximum size of the group.
-
getMaxSize
The maximum size of the group.
- Returns:
- The maximum size of the group.
-
withMaxSize
The maximum size of the group.
- Parameters:
maxSize
- The maximum size of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDesiredCapacity
The number of instances you prefer to maintain in the group.
- Parameters:
desiredCapacity
- The number of instances you prefer to maintain in the group.
-
getDesiredCapacity
The number of instances you prefer to maintain in the group.
- Returns:
- The number of instances you prefer to maintain in the group.
-
withDesiredCapacity
The number of instances you prefer to maintain in the group.
- Parameters:
desiredCapacity
- The number of instances you prefer to maintain in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-