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 an scheduled update to an Auto Scaling group.


Constructor Summary
ScheduledUpdateGroupAction()
           
 
Method Summary
 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.
 Integer getMaxSize()
          The maximum size of the Auto Scaling group.
 Integer getMinSize()
          The minimum size of the Auto Scaling group.
 String getScheduledActionARN()
          The Amazon Resource Name (ARN) of this scheduled action.
 String getScheduledActionName()
          The name of this scheduled action.
 Date getTime()
          The time that the action is scheduled to occur.
 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 setMaxSize(Integer maxSize)
          The maximum size of the Auto Scaling group.
 void setMinSize(Integer minSize)
          The minimum size of the Auto Scaling group.
 void setScheduledActionARN(String scheduledActionARN)
          The Amazon Resource Name (ARN) of this scheduled action.
 void setScheduledActionName(String scheduledActionName)
          The name of this scheduled action.
 void setTime(Date time)
          The time that the action is scheduled to occur.
 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 withMaxSize(Integer maxSize)
          The maximum size of the Auto Scaling group.
 ScheduledUpdateGroupAction withMinSize(Integer minSize)
          The minimum size of the Auto Scaling group.
 ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)
          The Amazon Resource Name (ARN) of this scheduled action.
 ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)
          The name of this scheduled action.
 ScheduledUpdateGroupAction withTime(Date time)
          The time that the action is scheduled to occur.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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()
The time that the action is scheduled to occur. This value can be up to one month in the future.

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

setTime

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

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

withTime

public ScheduledUpdateGroupAction withTime(Date time)
The time that the action is scheduled to occur. 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:
time - The time that the action is scheduled to occur. 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.

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. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.

Returns:
The number of instances you prefer to maintain in your Auto Scaling group. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling group. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.

Parameters:
desiredCapacity - The number of instances you prefer to maintain in your Auto Scaling group. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.

withDesiredCapacity

public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)
The number of instances you prefer to maintain in your Auto Scaling group. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.

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. The desired capacity must be no less than ScheduledUpdateGroupAction$MinSize and no greater than ScheduledUpdateGroupAction$MaxSize.
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()


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