|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.autoscaling.model.AutoScalingGroup
public class AutoScalingGroup
The AutoScalingGroup data type.
| Constructor Summary | |
|---|---|
AutoScalingGroup()
|
|
| Method Summary | |
|---|---|
String |
getAutoScalingGroupName()
Specifies the name of the group. |
List<String> |
getAvailabilityZones()
Contains a list of availability zones for the group. |
Integer |
getCooldown()
The number of seconds after a scaling activity completes before any further scaling activities can start. |
Date |
getCreatedTime()
Specifies the date and time the Auto Scaling group was created. |
Integer |
getDesiredCapacity()
Specifies the desired capacity for the AutoScalingGroup. |
List<Instance> |
getInstances()
Provides a summary list of EC2 instances. |
String |
getLaunchConfigurationName()
Specifies the name of the associated LaunchConfiguration. |
List<String> |
getLoadBalancerNames()
|
Integer |
getMaxSize()
Contains the maximum size of the AutoScalingGroup. |
Integer |
getMinSize()
Contains the minimum size of the AutoScalingGroup. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
Specifies the name of the group. |
void |
setAvailabilityZones(Collection<String> availabilityZones)
Contains a list of availability zones for the group. |
void |
setCooldown(Integer cooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start. |
void |
setCreatedTime(Date createdTime)
Specifies the date and time the Auto Scaling group was created. |
void |
setDesiredCapacity(Integer desiredCapacity)
Specifies the desired capacity for the AutoScalingGroup. |
void |
setInstances(Collection<Instance> instances)
Provides a summary list of EC2 instances. |
void |
setLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration. |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
|
void |
setMaxSize(Integer maxSize)
Contains the maximum size of the AutoScalingGroup. |
void |
setMinSize(Integer minSize)
Contains the minimum size of the AutoScalingGroup. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AutoScalingGroup |
withAutoScalingGroupName(String autoScalingGroupName)
Specifies the name of the group. |
AutoScalingGroup |
withAvailabilityZones(Collection<String> availabilityZones)
Contains a list of availability zones for the group. |
AutoScalingGroup |
withAvailabilityZones(String... availabilityZones)
Contains a list of availability zones for the group. |
AutoScalingGroup |
withCooldown(Integer cooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start. |
AutoScalingGroup |
withCreatedTime(Date createdTime)
Specifies the date and time the Auto Scaling group was created. |
AutoScalingGroup |
withDesiredCapacity(Integer desiredCapacity)
Specifies the desired capacity for the AutoScalingGroup. |
AutoScalingGroup |
withInstances(Collection<Instance> instances)
Provides a summary list of EC2 instances. |
AutoScalingGroup |
withInstances(Instance... instances)
Provides a summary list of EC2 instances. |
AutoScalingGroup |
withLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration. |
AutoScalingGroup |
withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together. |
AutoScalingGroup |
withLoadBalancerNames(String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together. |
AutoScalingGroup |
withMaxSize(Integer maxSize)
Contains the maximum size of the AutoScalingGroup. |
AutoScalingGroup |
withMinSize(Integer minSize)
Contains the minimum size of the AutoScalingGroup. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AutoScalingGroup()
| 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 - Specifies the name of the group.public AutoScalingGroup 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 - Specifies the name of the group.
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 - Specifies the name of the associated LaunchConfiguration.public AutoScalingGroup 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 - Specifies the name of the associated LaunchConfiguration.
public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize - Contains the minimum size of the AutoScalingGroup.public AutoScalingGroup withMinSize(Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize - Contains the minimum size of the AutoScalingGroup.
public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize - Contains the maximum size of the AutoScalingGroup.public AutoScalingGroup withMaxSize(Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize - Contains the maximum size of the AutoScalingGroup.
public Integer getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity - Specifies the desired capacity for the AutoScalingGroup.public AutoScalingGroup withDesiredCapacity(Integer desiredCapacity)
Returns a reference to this object so that method calls can be chained together.
desiredCapacity - Specifies the desired capacity for the AutoScalingGroup.
public Integer getCooldown()
public void setCooldown(Integer cooldown)
cooldown - The number of seconds after a scaling activity completes before any
further scaling activities can start.public AutoScalingGroup withCooldown(Integer cooldown)
Returns a reference to this object so that method calls can be chained together.
cooldown - The number of seconds after a scaling activity completes before any
further scaling activities can start.
public List<String> getAvailabilityZones()
Constraints:
Length: 1 -
public void setAvailabilityZones(Collection<String> availabilityZones)
Constraints:
Length: 1 -
availabilityZones - Contains a list of availability zones for the group.public AutoScalingGroup withAvailabilityZones(String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones - Contains a list of availability zones for the group.
public AutoScalingGroup withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones - Contains a list of availability zones for the group.
public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames - public AutoScalingGroup withLoadBalancerNames(String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames -
public AutoScalingGroup withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames -
public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances - Provides a summary list of EC2 instances.public AutoScalingGroup withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances - Provides a summary list of EC2 instances.
public AutoScalingGroup withInstances(Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances - Provides a summary list of EC2 instances.
public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
createdTime - Specifies the date and time the Auto Scaling group was created.public AutoScalingGroup withCreatedTime(Date createdTime)
Returns a reference to this object so that method calls can be chained together.
createdTime - Specifies the date and time the Auto Scaling group was created.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||