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