com.amazonaws.services.autoscaling.model
Class PutScheduledUpdateGroupActionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.PutScheduledUpdateGroupActionRequest

public class PutScheduledUpdateGroupActionRequest
extends AmazonWebServiceRequest

Container for the parameters to the PutScheduledUpdateGroupAction operation.

Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.

See Also:
AmazonAutoScaling.putScheduledUpdateGroupAction(PutScheduledUpdateGroupActionRequest)

Constructor Summary
PutScheduledUpdateGroupActionRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAutoScalingGroupName()
          The name or ARN of the Auto Scaling group.
 Integer getDesiredCapacity()
          The number of Amazon EC2 instances that should be running in the group.
 Date getEndTime()
          The time for this action to end.
 Integer getMaxSize()
          The maximum size for the Auto Scaling group.
 Integer getMinSize()
          The minimum size for the new Auto Scaling group.
 String getRecurrence()
          The time when recurring future actions will start.
 String getScheduledActionName()
          The name of this scaling action.
 Date getStartTime()
          The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.
 Date getTime()
          Time is deprecated.
 int hashCode()
           
 void setAutoScalingGroupName(String autoScalingGroupName)
          The name or ARN of the Auto Scaling group.
 void setDesiredCapacity(Integer desiredCapacity)
          The number of Amazon EC2 instances that should be running in the group.
 void setEndTime(Date endTime)
          The time for this action to end.
 void setMaxSize(Integer maxSize)
          The maximum size for the Auto Scaling group.
 void setMinSize(Integer minSize)
          The minimum size for the new Auto Scaling group.
 void setRecurrence(String recurrence)
          The time when recurring future actions will start.
 void setScheduledActionName(String scheduledActionName)
          The name of this scaling action.
 void setStartTime(Date startTime)
          The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.
 void setTime(Date time)
          Time is deprecated.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
          The name or ARN of the Auto Scaling group.
 PutScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity)
          The number of Amazon EC2 instances that should be running in the group.
 PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
          The time for this action to end.
 PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
          The maximum size for the Auto Scaling group.
 PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
          The minimum size for the new Auto Scaling group.
 PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
          The time when recurring future actions will start.
 PutScheduledUpdateGroupActionRequest withScheduledActionName(String scheduledActionName)
          The name of this scaling action.
 PutScheduledUpdateGroupActionRequest withStartTime(Date startTime)
          The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.
 PutScheduledUpdateGroupActionRequest withTime(Date time)
          Time is deprecated.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PutScheduledUpdateGroupActionRequest

public PutScheduledUpdateGroupActionRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name or ARN of the Auto Scaling group.

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

Returns:
The name or ARN of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling group.

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

Parameters:
autoScalingGroupName - The name or ARN of the Auto Scaling group.

withAutoScalingGroupName

public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling group.

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

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

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

getScheduledActionName

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

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

Returns:
The name of this scaling action.

setScheduledActionName

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

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

Parameters:
scheduledActionName - The name of this scaling action.

withScheduledActionName

public PutScheduledUpdateGroupActionRequest withScheduledActionName(String scheduledActionName)
The name of this scaling 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 scaling 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 for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.

Returns:
Time is deprecated.

The time for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.


setTime

public void setTime(Date time)
Time is deprecated.

The time for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.

Parameters:
time - Time is deprecated.

The time for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.


withTime

public PutScheduledUpdateGroupActionRequest withTime(Date time)
Time is deprecated.

The time for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.

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

Parameters:
time - Time is deprecated.

The time for this action to start. Time is an alias for StartTime and can be specified instead of StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise, PutScheduledUpdateGroupAction will return an error.

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

getStartTime

public Date getStartTime()
The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

Returns:
The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.

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 for this action to start, as in --start-time 2010-06-01T00:00:00Z.

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 for this action to start, as in --start-time 2010-06-01T00:00:00Z.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.


withStartTime

public PutScheduledUpdateGroupActionRequest withStartTime(Date startTime)
The time for this action to start, as in --start-time 2010-06-01T00:00:00Z.

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 for this action to start, as in --start-time 2010-06-01T00:00:00Z.

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 for this action to end.

Returns:
The time for this action to end.

setEndTime

public void setEndTime(Date endTime)
The time for this action to end.

Parameters:
endTime - The time for this action to end.

withEndTime

public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
The time for this action to end.

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

Parameters:
endTime - The time for this action to end.
Returns:
A reference to this updated object so that method calls can be chained together.

getRecurrence

public String getRecurrence()
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

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

Returns:
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.


setRecurrence

public void setRecurrence(String recurrence)
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

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

Parameters:
recurrence - The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.


withRecurrence

public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

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.

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

Parameters:
recurrence - The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For information about cron syntax, go to Wikipedia, The Free Encyclopedia.

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.

getMinSize

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

Returns:
The minimum size for the new Auto Scaling group.

setMinSize

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

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

withMinSize

public PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
The minimum size for the new Auto Scaling group.

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

Parameters:
minSize - The minimum size for the new 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 for the Auto Scaling group.

Returns:
The maximum size for the Auto Scaling group.

setMaxSize

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

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

withMaxSize

public PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.

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

Parameters:
maxSize - The maximum size for 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 Amazon EC2 instances that should be running in the group.

Returns:
The number of Amazon EC2 instances that should be running in the group.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the group.

Parameters:
desiredCapacity - The number of Amazon EC2 instances that should be running in the group.

withDesiredCapacity

public PutScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the group.

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

Parameters:
desiredCapacity - The number of Amazon EC2 instances that should be running in the 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.