Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.autoscaling.model
Class UpdateAutoScalingGroupRequest

    java.lang.Object
      com.amazonaws.AmazonWebServiceRequest
          com.amazonaws.services.autoscaling.model.UpdateAutoScalingGroupRequest

    public class UpdateAutoScalingGroupRequest

extends AmazonWebServiceRequest

Container for the parameters to the `UpdateAutoScalingGroup operation`.

Updates the configuration for the specified AutoScalingGroup.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Triggers that are currently in progress aren't affected.

NOTE: If the new values are specified for the MinSize or MaxSize parameters, then there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All optional parameters are left unchanged if not passed in the request.

See Also:
  `AmazonAutoScaling.updateAutoScalingGroup(UpdateAutoScalingGroupRequest)`

Constructor Summary
`UpdateAutoScalingGroupRequest()`

Method Summary
`String` | `getAutoScalingGroupName()` Constraints: Length: 1 - 100 Pattern: [ -??-??-?\r\n\t]*
`List<String>` | `getAvailabilityZones()` Constraints: Length: 1 -
`Integer` | `getCooldown()`
`String` | `getLaunchConfigurationName()` Constraints: Length: 1 - 255 Pattern: [ -??-??-?\r\n\t]*
`Integer` | `getMaxSize()`
`Integer` | `getMinSize()`
`void` | `setAutoScalingGroupName(String autoScalingGroupName)` Constraints: Length: 1 - 100 Pattern: [ -??-??-?\r\n\t]*
`void` | `setAvailabilityZones(Collection<String> availabilityZones)` Constraints: Length: 1 -
`void` | `setCooldown(Integer cooldown)`
`void` | `setLaunchConfigurationName(String launchConfigurationName)` Constraints: Length: 1 - 255 Pattern: [ -??-??-?\r\n\t]*
`void` | `setMaxSize(Integer maxSize)`
`void` | `setMinSize(Integer minSize)`
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`UpdateAutoScalingGroupRequest` | `withAutoScalingGroupName(String autoScalingGroupName)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withAvailabilityZones(Collection<String> availabilityZones)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withAvailabilityZones(String... availabilityZones)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withCooldown(Integer cooldown)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withLaunchConfigurationName(String launchConfigurationName)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withMaxSize(Integer maxSize)` Returns a reference to this object so that method calls can be chained together.
`UpdateAutoScalingGroupRequest` | `withMinSize(Integer minSize)` Returns a reference to this object so that method calls can be chained together.

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

### UpdateAutoScalingGroupRequest

    public UpdateAutoScalingGroupRequest()

Method Detail

### getAutoScalingGroupName

    public String getAutoScalingGroupName()

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

  Returns:

### setAutoScalingGroupName

    public void setAutoScalingGroupName(String autoScalingGroupName)

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

  Parameters:
    `autoScalingGroupName` -

### withAutoScalingGroupName

    public UpdateAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)

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

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

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

### getLaunchConfigurationName

    public String getLaunchConfigurationName()

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

  Returns:

### setLaunchConfigurationName

    public void setLaunchConfigurationName(String launchConfigurationName)

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

  Parameters:
    `launchConfigurationName` -

### withLaunchConfigurationName

    public UpdateAutoScalingGroupRequest withLaunchConfigurationName(String launchConfigurationName)

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

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

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

### getMinSize

    public Integer getMinSize()

  Returns:

### setMinSize

    public void setMinSize(Integer minSize)

  Parameters:
    `minSize` -

### withMinSize

    public UpdateAutoScalingGroupRequest withMinSize(Integer minSize)

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

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

### getMaxSize

    public Integer getMaxSize()

  Returns:

### setMaxSize

    public void setMaxSize(Integer maxSize)

  Parameters:
    `maxSize` -

### withMaxSize

    public UpdateAutoScalingGroupRequest withMaxSize(Integer maxSize)

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

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

### getCooldown

    public Integer getCooldown()

  Returns:

### setCooldown

    public void setCooldown(Integer cooldown)

  Parameters:
    `cooldown` -

### withCooldown

    public UpdateAutoScalingGroupRequest withCooldown(Integer cooldown)

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

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

### getAvailabilityZones

    public List<String> getAvailabilityZones()

  Constraints:
  Length: 1 -

  Returns:

### setAvailabilityZones

    public void setAvailabilityZones(Collection<String> availabilityZones)

  Constraints:
  Length: 1 -

  Parameters:
    `availabilityZones` -

### withAvailabilityZones

    public UpdateAutoScalingGroupRequest withAvailabilityZones(String... availabilityZones)

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

  Constraints:
  Length: 1 -

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

### withAvailabilityZones

    public UpdateAutoScalingGroupRequest withAvailabilityZones(Collection<String> availabilityZones)

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

  Constraints:
  Length: 1 -

  Parameters:
    `availabilityZones` -
  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()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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