com.amazonaws.services.autoscaling.model
Class ScheduledUpdateGroupAction

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.ScheduledUpdateGroupAction

public class ScheduledUpdateGroupAction
extends Object

This data type stores information about a scheduled update to an Auto Scaling group.


Constructor Summary
ScheduledUpdateGroupAction()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduledUpdateGroupAction

public ScheduledUpdateGroupAction()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the Auto Scaling group to be updated.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the Auto Scaling group to be updated.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group to be updated.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group to be updated.

withAutoScalingGroupName

public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group to be updated.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group to be updated.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduledActionName

public String getScheduledActionName()
The name of this scheduled action.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of this scheduled action.

setScheduledActionName

public void setScheduledActionName(String scheduledActionName)
The name of this scheduled action.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
scheduledActionName - The name of this scheduled action.

withScheduledActionName

public ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)
The name of this scheduled action.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
scheduledActionName - The name of this scheduled action.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduledActionARN

public String getScheduledActionARN()
The Amazon Resource Name (ARN) of this scheduled action.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The Amazon Resource Name (ARN) of this scheduled action.

setScheduledActionARN

public void setScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of this scheduled action.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
scheduledActionARN - The Amazon Resource Name (ARN) of this scheduled action.

withScheduledActionARN

public ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of this scheduled action.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
scheduledActionARN - The Amazon Resource Name (ARN) of this scheduled action.
Returns:
A reference to this updated object so that method calls can be chained together.

getTime

public Date getTime()
Time is deprecated.

The time that the action is scheduled to begin. Time is an alias for StartTime.

Returns:
Time is deprecated.

The time that the action is scheduled to begin. Time is an alias for StartTime.


setTime

public void setTime(Date time)
Time is deprecated.

The time that the action is scheduled to begin. Time is an alias for StartTime.

Parameters:
time - Time is deprecated.

The time that the action is scheduled to begin. Time is an alias for StartTime.


withTime

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.

Parameters:
time - Time is deprecated.

The time that the action is scheduled to begin. Time is an alias for StartTime.

Returns:
A reference to this updated object so that method calls can be chained together.

getStartTime

public Date getStartTime()
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.

Returns:
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.


setStartTime

public void setStartTime(Date 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.

Parameters:
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.


withStartTime

public ScheduledUpdateGroupAction withStartTime(Date 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getEndTime

public Date getEndTime()
The time that the action is scheduled to end. This value can be up to one month in the future.

Returns:
The time that the action is scheduled to end. This value can be up to one month in the future.

setEndTime

public void setEndTime(Date endTime)
The time that the action is scheduled to end. This value can be up to one month in the future.

Parameters:
endTime - The time that the action is scheduled to end. This value can be up to one month in the future.

withEndTime

public ScheduledUpdateGroupAction withEndTime(Date endTime)
The time that the action is scheduled to end. This value can be up to one month in the future.

Returns a reference to this object so that method calls can be chained together.

Parameters:
endTime - The time that the action is scheduled to end. This value can be up to one month in the future.
Returns:
A reference to this updated object so that method calls can be chained together.

getRecurrence

public String getRecurrence()
The regular schedule that an action occurs.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The regular schedule that an action occurs.

setRecurrence

public void setRecurrence(String recurrence)
The regular schedule that an action occurs.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
recurrence - The regular schedule that an action occurs.

withRecurrence

public ScheduledUpdateGroupAction withRecurrence(String recurrence)
The regular schedule that an action occurs.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
recurrence - The regular schedule that an action occurs.
Returns:
A reference to this updated object so that method calls can be chained together.

getMinSize

public Integer getMinSize()
The minimum size of the Auto Scaling group.

Returns:
The minimum size of the Auto Scaling group.

setMinSize

public void setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.

Parameters:
minSize - The minimum size of the Auto Scaling group.

withMinSize

public ScheduledUpdateGroupAction withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
minSize - The minimum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxSize

public Integer getMaxSize()
The maximum size of the Auto Scaling group.

Returns:
The maximum size of the Auto Scaling group.

setMaxSize

public void setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.

Parameters:
maxSize - The maximum size of the Auto Scaling group.

withMaxSize

public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxSize - The maximum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDesiredCapacity

public Integer getDesiredCapacity()
The number of instances you prefer to maintain in your Auto Scaling group.

Returns:
The number of instances you prefer to maintain in your Auto Scaling group.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling group.

Parameters:
desiredCapacity - The number of instances you prefer to maintain in your Auto Scaling group.

withDesiredCapacity

public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
desiredCapacity - The number of instances you prefer to maintain in your Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.