com.amazonaws.services.autoscaling.model
Class SetDesiredCapacityRequest

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

public class SetDesiredCapacityRequest
extends AmazonWebServiceRequest


Constructor Summary
SetDesiredCapacityRequest()
           
 
Method Summary
 String getAutoScalingGroupName()
          The name of the AutoScalingGroup.
 Integer getDesiredCapacity()
          The new capacity setting for the AutoScalingGroup.
 void setAutoScalingGroupName(String autoScalingGroupName)
          The name of the AutoScalingGroup.
 void setDesiredCapacity(Integer desiredCapacity)
          The new capacity setting for the AutoScalingGroup.
 String toString()
           
 SetDesiredCapacityRequest withAutoScalingGroupName(String autoScalingGroupName)
          The name of the AutoScalingGroup.
 SetDesiredCapacityRequest withDesiredCapacity(Integer desiredCapacity)
          The new capacity setting for the AutoScalingGroup.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetDesiredCapacityRequest

public SetDesiredCapacityRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the AutoScalingGroup.

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

Returns:
The name of the AutoScalingGroup.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the AutoScalingGroup.

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

Parameters:
autoScalingGroupName - The name of the AutoScalingGroup.

withAutoScalingGroupName

public SetDesiredCapacityRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the AutoScalingGroup.

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

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

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

getDesiredCapacity

public Integer getDesiredCapacity()
The new capacity setting for the AutoScalingGroup.

Returns:
The new capacity setting for the AutoScalingGroup.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
The new capacity setting for the AutoScalingGroup.

Parameters:
desiredCapacity - The new capacity setting for the AutoScalingGroup.

withDesiredCapacity

public SetDesiredCapacityRequest withDesiredCapacity(Integer desiredCapacity)
The new capacity setting for the AutoScalingGroup.

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

Parameters:
desiredCapacity - The new capacity setting for the AutoScalingGroup.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


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