Class ScheduledUpdateGroupAction
- java.lang.Object
-
- com.amazonaws.services.autoscaling.model.ScheduledUpdateGroupAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduledUpdateGroupAction extends Object implements Serializable, Cloneable
Describes a scheduled update to an Auto Scaling group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledUpdateGroupAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledUpdateGroupAction
clone()
boolean
equals(Object obj)
String
getAutoScalingGroupName()
The name of the group.Integer
getDesiredCapacity()
The number of instances you prefer to maintain in the group.Date
getEndTime()
The date and time that the action is scheduled to end.Integer
getMaxSize()
The maximum size of the group.Integer
getMinSize()
The minimum size of the group.String
getRecurrence()
The recurring schedule for the action.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 that the action is scheduled to begin.Date
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
setTime(Date time)
This parameter is deprecated.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduledUpdateGroupAction
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.ScheduledUpdateGroupAction
withDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in the group.ScheduledUpdateGroupAction
withEndTime(Date endTime)
The date and time that the action is scheduled to end.ScheduledUpdateGroupAction
withMaxSize(Integer maxSize)
The maximum size of the group.ScheduledUpdateGroupAction
withMinSize(Integer minSize)
The minimum size of the group.ScheduledUpdateGroupAction
withRecurrence(String recurrence)
The recurring schedule for the action.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 that the action is scheduled to begin.ScheduledUpdateGroupAction
withTime(Date time)
This parameter is deprecated.
-
-
-
Method Detail
-
setAutoScalingGroupName
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.
-
getAutoScalingGroupName
public String getAutoScalingGroupName()
The name of the group.
- Returns:
- The name of the group.
-
withAutoScalingGroupName
public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
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
public void setScheduledActionName(String scheduledActionName)
The name of the scheduled action.
- Parameters:
scheduledActionName
- The name of the scheduled action.
-
getScheduledActionName
public String getScheduledActionName()
The name of the scheduled action.
- Returns:
- The name of the scheduled action.
-
withScheduledActionName
public ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)
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
public void setScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
- Parameters:
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.
-
getScheduledActionARN
public String getScheduledActionARN()
The Amazon Resource Name (ARN) of the scheduled action.
- Returns:
- The Amazon Resource Name (ARN) of the scheduled action.
-
withScheduledActionARN
public ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)
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
public void setTime(Date time)
This parameter is deprecated.
- Parameters:
time
- This parameter is deprecated.
-
getTime
public Date getTime()
This parameter is deprecated.
- Returns:
- This parameter is deprecated.
-
withTime
public ScheduledUpdateGroupAction withTime(Date time)
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
public void setStartTime(Date 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.- 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
public Date 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
public ScheduledUpdateGroupAction withStartTime(Date 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.- 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
public void setEndTime(Date 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.
- 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
public Date 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
public ScheduledUpdateGroupAction withEndTime(Date 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.
- 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
public void setRecurrence(String recurrence)
The recurring schedule for the action.
- Parameters:
recurrence
- The recurring schedule for the action.
-
getRecurrence
public String getRecurrence()
The recurring schedule for the action.
- Returns:
- The recurring schedule for the action.
-
withRecurrence
public ScheduledUpdateGroupAction withRecurrence(String recurrence)
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
public void setMinSize(Integer minSize)
The minimum size of the group.
- Parameters:
minSize
- The minimum size of the group.
-
getMinSize
public Integer getMinSize()
The minimum size of the group.
- Returns:
- The minimum size of the group.
-
withMinSize
public ScheduledUpdateGroupAction withMinSize(Integer minSize)
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
public void setMaxSize(Integer maxSize)
The maximum size of the group.
- Parameters:
maxSize
- The maximum size of the group.
-
getMaxSize
public Integer getMaxSize()
The maximum size of the group.
- Returns:
- The maximum size of the group.
-
withMaxSize
public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
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
public void setDesiredCapacity(Integer desiredCapacity)
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
public Integer 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
public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledUpdateGroupAction clone()
-
-