public class ScheduledUpdateGroupAction extends Object implements Serializable
This data type stores information about a scheduled update to an Auto Scaling group.
Constructor and Description |
---|
ScheduledUpdateGroupAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group to be updated.
|
Integer |
getDesiredCapacity()
The number of instances you prefer to maintain in your Auto Scaling
group.
|
Date |
getEndTime()
The time that the action is scheduled to end.
|
Integer |
getMaxSize()
The maximum size of the Auto Scaling group.
|
Integer |
getMinSize()
The minimum size of the Auto Scaling group.
|
String |
getRecurrence()
The regular schedule that an action occurs.
|
String |
getScheduledActionARN()
The Amazon Resource Name (ARN) of this scheduled action.
|
String |
getScheduledActionName()
The name of this scheduled action.
|
Date |
getStartTime()
The time that the action is scheduled to begin.
|
Date |
getTime()
Time is deprecated. |
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group to be updated.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling
group.
|
void |
setEndTime(Date endTime)
The time that the action is scheduled to end.
|
void |
setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
void |
setRecurrence(String recurrence)
The regular schedule that an action occurs.
|
void |
setScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of this scheduled action.
|
void |
setScheduledActionName(String scheduledActionName)
The name of this scheduled action.
|
void |
setStartTime(Date startTime)
The time that the action is scheduled to begin.
|
void |
setTime(Date time)
Time is deprecated. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduledUpdateGroupAction |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group to be updated.
|
ScheduledUpdateGroupAction |
withDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling
group.
|
ScheduledUpdateGroupAction |
withEndTime(Date endTime)
The time that the action is scheduled to end.
|
ScheduledUpdateGroupAction |
withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
ScheduledUpdateGroupAction |
withRecurrence(String recurrence)
The regular schedule that an action occurs.
|
ScheduledUpdateGroupAction |
withScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of this scheduled action.
|
ScheduledUpdateGroupAction |
withScheduledActionName(String scheduledActionName)
The name of this scheduled action.
|
ScheduledUpdateGroupAction |
withStartTime(Date startTime)
The time that the action is scheduled to begin.
|
ScheduledUpdateGroupAction |
withTime(Date time)
Time is deprecated. |
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to be updated.public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to be updated.public String getScheduledActionName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setScheduledActionName(String scheduledActionName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
scheduledActionName
- The name of this 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: [ --�𐀀-\r\n\t]*
scheduledActionName
- The name of this scheduled action.public String getScheduledActionARN()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setScheduledActionARN(String scheduledActionARN)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
scheduledActionARN
- The Amazon Resource Name (ARN) of this 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: [ --�𐀀-\r\n\t]*
scheduledActionARN
- The Amazon Resource Name (ARN) of this scheduled action.public Date getTime()
Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
public void setTime(Date time)
Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
time
- Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
public ScheduledUpdateGroupAction withTime(Date time)
Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
Returns a reference to this object so that method calls can be chained together.
time
- Time
is deprecated. The time that the action is
scheduled to begin. Time
is an alias for
StartTime
.
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: [ --�𐀀-\r\n\t]*
public void setRecurrence(String recurrence)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
recurrence
- The regular schedule that an action occurs.public ScheduledUpdateGroupAction withRecurrence(String recurrence)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
recurrence
- The regular schedule that an action occurs.public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize
- The minimum size of the Auto Scaling 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 Auto Scaling group.public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- The maximum size of the Auto Scaling 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 Auto Scaling group.public Integer getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity
- The number of instances you prefer to maintain in your Auto Scaling
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 your Auto Scaling
group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.