@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledUpdateGroupAction extends Object implements Serializable, Cloneable
Describes a scheduled scaling action. Used in response to DescribeScheduledActions.
| 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 number of instances you prefer to maintain in the group.
|
Date |
getEndTime()
The date and time in UTC for the recurring schedule to end.
|
Integer |
getMaxSize()
The maximum number of instances in the Auto Scaling group.
|
Integer |
getMinSize()
The minimum number of instances in 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 parameter is no longer used.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in the group.
|
void |
setEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end.
|
void |
setMaxSize(Integer maxSize)
The maximum number of instances in the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum number of instances in 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 parameter is no longer used.
|
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 number of instances you prefer to maintain in the group.
|
ScheduledUpdateGroupAction |
withEndTime(Date endTime)
The date and time in UTC for the recurring schedule to end.
|
ScheduledUpdateGroupAction |
withMaxSize(Integer maxSize)
The maximum number of instances in the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withMinSize(Integer minSize)
The minimum number of instances in 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 parameter is no longer used.
|
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 parameter is no longer used.
time - This parameter is no longer used.public Date getTime()
This parameter is no longer used.
public ScheduledUpdateGroupAction withTime(Date time)
This parameter is no longer used.
time - This parameter 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 number of instances in the Auto Scaling group.
minSize - The minimum number of instances in the Auto Scaling group.public Integer getMinSize()
The minimum number of instances in the Auto Scaling group.
public ScheduledUpdateGroupAction withMinSize(Integer minSize)
The minimum number of instances in the Auto Scaling group.
minSize - The minimum number of instances in the Auto Scaling group.public void setMaxSize(Integer maxSize)
The maximum number of instances in the Auto Scaling group.
maxSize - The maximum number of instances in the Auto Scaling group.public Integer getMaxSize()
The maximum number of instances in the Auto Scaling group.
public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
The maximum number of instances in the Auto Scaling group.
maxSize - The maximum number of instances in the Auto Scaling 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 ObjectObject.toString()public ScheduledUpdateGroupAction clone()
Copyright © 2020. All rights reserved.