@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledUpdateGroupAction extends Object implements Serializable, Cloneable
Describes a scheduled update to an Auto Scaling group.
Constructor and Description |
---|
ScheduledUpdateGroupAction() |
Modifier and Type | Method and 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.
|
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String getAutoScalingGroupName()
The name of the group.
public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the 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 parameter is deprecated.
time
- This parameter is deprecated.public Date getTime()
This parameter is deprecated.
public ScheduledUpdateGroupAction withTime(Date time)
This parameter is deprecated.
time
- This parameter is deprecated.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
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action will start and stop.
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
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action will start and stop.
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
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action will start and stop.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action will start and stop.
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
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action will start and stop.
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
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action will start and stop.
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.
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.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.
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.
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.public void setRecurrence(String recurrence)
The recurring schedule for the action.
recurrence
- The recurring schedule for the action.public String getRecurrence()
The recurring schedule for the action.
public ScheduledUpdateGroupAction withRecurrence(String recurrence)
The recurring schedule for the action.
recurrence
- The recurring schedule for the action.public void setMinSize(Integer minSize)
The minimum size of the group.
minSize
- The minimum size of the group.public Integer getMinSize()
The minimum size of the group.
public ScheduledUpdateGroupAction withMinSize(Integer minSize)
The minimum size of the group.
minSize
- The minimum size of the group.public void setMaxSize(Integer maxSize)
The maximum size of the group.
maxSize
- The maximum size of the group.public Integer getMaxSize()
The maximum size of the group.
public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
The maximum size of the group.
maxSize
- The maximum size of the group.public void setDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in the group.
desiredCapacity
- The number of instances you prefer to maintain in the group.public Integer getDesiredCapacity()
The number of instances you prefer to maintain in the group.
public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in the group.
desiredCapacity
- The number of instances you prefer to maintain in the group.public String toString()
toString
in class Object
Object.toString()
public ScheduledUpdateGroupAction clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.