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 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 time that the action is scheduled to begin.
|
Date |
getTime()
Time is deprecated; use StartTime instead. |
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 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 time that the action is scheduled to begin.
|
void |
setTime(Date time)
Time is deprecated; use StartTime instead. |
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 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 time that the action is scheduled to begin.
|
ScheduledUpdateGroupAction |
withTime(Date time)
Time is deprecated; use StartTime instead. |
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the group.public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the group.public String getScheduledActionName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setScheduledActionName(String scheduledActionName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
scheduledActionName
- The name of the scheduled action.public ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
scheduledActionName
- The name of the scheduled action.public String getScheduledActionARN()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setScheduledActionARN(String scheduledActionARN)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.public ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.public Date getTime()
Time
is deprecated; use StartTime
instead.Time
is deprecated; use StartTime
instead.public void setTime(Date time)
Time
is deprecated; use StartTime
instead.time
- Time
is deprecated; use StartTime
instead.public ScheduledUpdateGroupAction withTime(Date time)
Time
is deprecated; use StartTime
instead.
Returns a reference to this object so that method calls can be chained together.
time
- Time
is deprecated; use StartTime
instead.public Date getStartTime()
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 void setStartTime(Date startTime)
When StartTime
and
EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action will start and stop.
startTime
- The time that the action is scheduled to begin. This value 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 ScheduledUpdateGroupAction withStartTime(Date startTime)
When StartTime
and
EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action will start and stop.
Returns a reference to this object so that method calls can be chained together.
startTime
- The time that the action is scheduled to begin. This value 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 getEndTime()
public void setEndTime(Date endTime)
endTime
- The time that the action is scheduled to end. This value can be up to
one month in the future.public ScheduledUpdateGroupAction withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- The time that the action is scheduled to end. This value can be up to
one month in the future.public String getRecurrence()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setRecurrence(String recurrence)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
recurrence
- The recurring schedule for the action.public ScheduledUpdateGroupAction withRecurrence(String recurrence)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
recurrence
- The recurring schedule for the action.public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize
- The minimum size of the group.public ScheduledUpdateGroupAction withMinSize(Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize
- The minimum size of the group.public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- The maximum size of the group.public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize
- The maximum size of the group.public Integer getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity
- The number of instances you prefer to maintain in the group.public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
Returns a reference to this object so that method calls can be chained together.
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 © 2015. All rights reserved.