|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.UpdateAutoScalingGroupRequest
public class UpdateAutoScalingGroupRequest
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.
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 |
---|
public UpdateAutoScalingGroupRequest()
Method Detail |
---|
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- 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]*
autoScalingGroupName
-
public String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- 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]*
launchConfigurationName
-
public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize
- public UpdateAutoScalingGroupRequest withMinSize(Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize
-
public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- public UpdateAutoScalingGroupRequest withMaxSize(Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize
-
public Integer getCooldown()
public void setCooldown(Integer cooldown)
cooldown
- public UpdateAutoScalingGroupRequest withCooldown(Integer cooldown)
Returns a reference to this object so that method calls can be chained together.
cooldown
-
public List<String> getAvailabilityZones()
Constraints:
Length: 1 -
public void setAvailabilityZones(Collection<String> availabilityZones)
Constraints:
Length: 1 -
availabilityZones
- public UpdateAutoScalingGroupRequest withAvailabilityZones(String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones
-
public UpdateAutoScalingGroupRequest withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones
-
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |