com.amazonaws.services.autoscaling.model
Class AutoScalingGroup

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.AutoScalingGroup

public class AutoScalingGroup
extends Object

The AutoScalingGroup data type.


Constructor Summary
AutoScalingGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAutoScalingGroupARN()
          The Amazon Resource Name (ARN) of the Auto Scaling group.
 String getAutoScalingGroupName()
          Specifies the name of the group.
 List<String> getAvailabilityZones()
          Contains a list of Availability Zones for the group.
 Date getCreatedTime()
          Specifies the date and time the Auto Scaling group was created.
 Integer getDefaultCooldown()
          The number of seconds after a scaling activity completes before any further scaling activities can start.
 Integer getDesiredCapacity()
          Specifies the desired capacity for the Auto Scaling group.
 List<EnabledMetric> getEnabledMetrics()
          A list of metrics enabled for this Auto Scaling group.
 Integer getHealthCheckGracePeriod()
          The length of time that Auto Scaling waits before checking an instance's health status.
 String getHealthCheckType()
          The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
 List<Instance> getInstances()
          Provides a summary list of Amazon EC2 instances.
 String getLaunchConfigurationName()
          Specifies the name of the associated LaunchConfiguration.
 List<String> getLoadBalancerNames()
          A list of load balancers associated with this Auto Scaling group.
 Integer getMaxSize()
          Contains the maximum size of the Auto Scaling group.
 Integer getMinSize()
          Contains the minimum size of the Auto Scaling group.
 String getPlacementGroup()
          The name of the cluster placement group, if applicable.
 String getStatus()
          A list of status conditions for the Auto Scaling group.
 List<SuspendedProcess> getSuspendedProcesses()
          Suspended processes associated with this Auto Scaling group.
 List<TagDescription> getTags()
          A list of tags for the Auto Scaling group.
 List<String> getTerminationPolicies()
          A standalone termination policy or a list of termination policies for this Auto Scaling group.
 String getVPCZoneIdentifier()
          The subnet identifier for the Amazon VPC connection, if applicable.
 int hashCode()
           
 void setAutoScalingGroupARN(String autoScalingGroupARN)
          The Amazon Resource Name (ARN) of the Auto Scaling group.
 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 setCreatedTime(Date createdTime)
          Specifies the date and time the Auto Scaling group was created.
 void setDefaultCooldown(Integer defaultCooldown)
          The number of seconds after a scaling activity completes before any further scaling activities can start.
 void setDesiredCapacity(Integer desiredCapacity)
          Specifies the desired capacity for the Auto Scaling group.
 void setEnabledMetrics(Collection<EnabledMetric> enabledMetrics)
          A list of metrics enabled for this Auto Scaling group.
 void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
          The length of time that Auto Scaling waits before checking an instance's health status.
 void setHealthCheckType(String healthCheckType)
          The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
 void setInstances(Collection<Instance> instances)
          Provides a summary list of Amazon EC2 instances.
 void setLaunchConfigurationName(String launchConfigurationName)
          Specifies the name of the associated LaunchConfiguration.
 void setLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of load balancers associated with this Auto Scaling group.
 void setMaxSize(Integer maxSize)
          Contains the maximum size of the Auto Scaling group.
 void setMinSize(Integer minSize)
          Contains the minimum size of the Auto Scaling group.
 void setPlacementGroup(String placementGroup)
          The name of the cluster placement group, if applicable.
 void setStatus(String status)
          A list of status conditions for the Auto Scaling group.
 void setSuspendedProcesses(Collection<SuspendedProcess> suspendedProcesses)
          Suspended processes associated with this Auto Scaling group.
 void setTags(Collection<TagDescription> tags)
          A list of tags for the Auto Scaling group.
 void setTerminationPolicies(Collection<String> terminationPolicies)
          A standalone termination policy or a list of termination policies for this Auto Scaling group.
 void setVPCZoneIdentifier(String vPCZoneIdentifier)
          The subnet identifier for the Amazon VPC connection, if applicable.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AutoScalingGroup withAutoScalingGroupARN(String autoScalingGroupARN)
          The Amazon Resource Name (ARN) of the Auto Scaling group.
 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 withCreatedTime(Date createdTime)
          Specifies the date and time the Auto Scaling group was created.
 AutoScalingGroup withDefaultCooldown(Integer defaultCooldown)
          The number of seconds after a scaling activity completes before any further scaling activities can start.
 AutoScalingGroup withDesiredCapacity(Integer desiredCapacity)
          Specifies the desired capacity for the Auto Scaling group.
 AutoScalingGroup withEnabledMetrics(Collection<EnabledMetric> enabledMetrics)
          A list of metrics enabled for this Auto Scaling group.
 AutoScalingGroup withEnabledMetrics(EnabledMetric... enabledMetrics)
          A list of metrics enabled for this Auto Scaling group.
 AutoScalingGroup withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
          The length of time that Auto Scaling waits before checking an instance's health status.
 AutoScalingGroup withHealthCheckType(String healthCheckType)
          The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
 AutoScalingGroup withInstances(Collection<Instance> instances)
          Provides a summary list of Amazon EC2 instances.
 AutoScalingGroup withInstances(Instance... instances)
          Provides a summary list of Amazon EC2 instances.
 AutoScalingGroup withLaunchConfigurationName(String launchConfigurationName)
          Specifies the name of the associated LaunchConfiguration.
 AutoScalingGroup withLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of load balancers associated with this Auto Scaling group.
 AutoScalingGroup withLoadBalancerNames(String... loadBalancerNames)
          A list of load balancers associated with this Auto Scaling group.
 AutoScalingGroup withMaxSize(Integer maxSize)
          Contains the maximum size of the Auto Scaling group.
 AutoScalingGroup withMinSize(Integer minSize)
          Contains the minimum size of the Auto Scaling group.
 AutoScalingGroup withPlacementGroup(String placementGroup)
          The name of the cluster placement group, if applicable.
 AutoScalingGroup withStatus(String status)
          A list of status conditions for the Auto Scaling group.
 AutoScalingGroup withSuspendedProcesses(Collection<SuspendedProcess> suspendedProcesses)
          Suspended processes associated with this Auto Scaling group.
 AutoScalingGroup withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
          Suspended processes associated with this Auto Scaling group.
 AutoScalingGroup withTags(Collection<TagDescription> tags)
          A list of tags for the Auto Scaling group.
 AutoScalingGroup withTags(TagDescription... tags)
          A list of tags for the Auto Scaling group.
 AutoScalingGroup withTerminationPolicies(Collection<String> terminationPolicies)
          A standalone termination policy or a list of termination policies for this Auto Scaling group.
 AutoScalingGroup withTerminationPolicies(String... terminationPolicies)
          A standalone termination policy or a list of termination policies for this Auto Scaling group.
 AutoScalingGroup withVPCZoneIdentifier(String vPCZoneIdentifier)
          The subnet identifier for the Amazon VPC connection, if applicable.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoScalingGroup

public AutoScalingGroup()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
Specifies the name of the group.

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

Returns:
Specifies the name of the group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
Specifies the name of the group.

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

Parameters:
autoScalingGroupName - Specifies the name of the group.

withAutoScalingGroupName

public AutoScalingGroup withAutoScalingGroupName(String autoScalingGroupName)
Specifies the name of the group.

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

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

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

getAutoScalingGroupARN

public String getAutoScalingGroupARN()
The Amazon Resource Name (ARN) of the Auto Scaling group.

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

Returns:
The Amazon Resource Name (ARN) of the Auto Scaling group.

setAutoScalingGroupARN

public void setAutoScalingGroupARN(String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the Auto Scaling group.

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

Parameters:
autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

withAutoScalingGroupARN

public AutoScalingGroup withAutoScalingGroupARN(String autoScalingGroupARN)
The Amazon Resource Name (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:
autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getLaunchConfigurationName

public String getLaunchConfigurationName()
Specifies the name of the associated LaunchConfiguration.

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

Returns:
Specifies the name of the associated LaunchConfiguration.

setLaunchConfigurationName

public void setLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration.

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

Parameters:
launchConfigurationName - Specifies the name of the associated LaunchConfiguration.

withLaunchConfigurationName

public AutoScalingGroup withLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration.

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

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

Parameters:
launchConfigurationName - Specifies the name of the associated LaunchConfiguration.
Returns:
A reference to this updated object so that method calls can be chained together.

getMinSize

public Integer getMinSize()
Contains the minimum size of the Auto Scaling group.

Returns:
Contains the minimum size of the Auto Scaling group.

setMinSize

public void setMinSize(Integer minSize)
Contains the minimum size of the Auto Scaling group.

Parameters:
minSize - Contains the minimum size of the Auto Scaling group.

withMinSize

public AutoScalingGroup withMinSize(Integer minSize)
Contains the minimum size of the Auto Scaling group.

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

Parameters:
minSize - Contains the minimum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxSize

public Integer getMaxSize()
Contains the maximum size of the Auto Scaling group.

Returns:
Contains the maximum size of the Auto Scaling group.

setMaxSize

public void setMaxSize(Integer maxSize)
Contains the maximum size of the Auto Scaling group.

Parameters:
maxSize - Contains the maximum size of the Auto Scaling group.

withMaxSize

public AutoScalingGroup withMaxSize(Integer maxSize)
Contains the maximum size of the Auto Scaling group.

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

Parameters:
maxSize - Contains the maximum size of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDesiredCapacity

public Integer getDesiredCapacity()
Specifies the desired capacity for the Auto Scaling group.

Returns:
Specifies the desired capacity for the Auto Scaling group.

setDesiredCapacity

public void setDesiredCapacity(Integer desiredCapacity)
Specifies the desired capacity for the Auto Scaling group.

Parameters:
desiredCapacity - Specifies the desired capacity for the Auto Scaling group.

withDesiredCapacity

public AutoScalingGroup withDesiredCapacity(Integer desiredCapacity)
Specifies the desired capacity for the Auto Scaling group.

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

Parameters:
desiredCapacity - Specifies the desired capacity for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultCooldown

public Integer getDefaultCooldown()
The number of seconds after a scaling activity completes before any further scaling activities can start.

Returns:
The number of seconds after a scaling activity completes before any further scaling activities can start.

setDefaultCooldown

public void setDefaultCooldown(Integer defaultCooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start.

Parameters:
defaultCooldown - The number of seconds after a scaling activity completes before any further scaling activities can start.

withDefaultCooldown

public AutoScalingGroup withDefaultCooldown(Integer defaultCooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start.

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

Parameters:
defaultCooldown - The number of seconds after a scaling activity completes before any further scaling activities can start.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public List<String> getAvailabilityZones()
Contains a list of Availability Zones for the group.

Constraints:
Length: 1 -

Returns:
Contains a list of Availability Zones for the group.

setAvailabilityZones

public void setAvailabilityZones(Collection<String> availabilityZones)
Contains a list of Availability Zones for the group.

Constraints:
Length: 1 -

Parameters:
availabilityZones - Contains a list of Availability Zones for the group.

withAvailabilityZones

public AutoScalingGroup withAvailabilityZones(String... availabilityZones)
Contains a list of Availability Zones for the group.

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

Constraints:
Length: 1 -

Parameters:
availabilityZones - Contains a list of Availability Zones for the group.
Returns:
A reference to this updated object so that method calls can be chained together.

withAvailabilityZones

public AutoScalingGroup withAvailabilityZones(Collection<String> availabilityZones)
Contains a list of Availability Zones for the group.

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

Constraints:
Length: 1 -

Parameters:
availabilityZones - Contains a list of Availability Zones for the group.
Returns:
A reference to this updated object so that method calls can be chained together.

getLoadBalancerNames

public List<String> getLoadBalancerNames()
A list of load balancers associated with this Auto Scaling group.

Returns:
A list of load balancers associated with this Auto Scaling group.

setLoadBalancerNames

public void setLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancers associated with this Auto Scaling group.

Parameters:
loadBalancerNames - A list of load balancers associated with this Auto Scaling group.

withLoadBalancerNames

public AutoScalingGroup withLoadBalancerNames(String... loadBalancerNames)
A list of load balancers associated with this Auto Scaling group.

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

Parameters:
loadBalancerNames - A list of load balancers associated with this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withLoadBalancerNames

public AutoScalingGroup withLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancers associated with this Auto Scaling group.

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

Parameters:
loadBalancerNames - A list of load balancers associated with this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckType

public String getHealthCheckType()
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

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

Returns:
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

setHealthCheckType

public void setHealthCheckType(String healthCheckType)
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

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

Parameters:
healthCheckType - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

withHealthCheckType

public AutoScalingGroup withHealthCheckType(String healthCheckType)
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

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

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

Parameters:
healthCheckType - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckGracePeriod

public Integer getHealthCheckGracePeriod()
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

Returns:
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

setHealthCheckGracePeriod

public void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

Parameters:
healthCheckGracePeriod - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

withHealthCheckGracePeriod

public AutoScalingGroup withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

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

Parameters:
healthCheckGracePeriod - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstances

public List<Instance> getInstances()
Provides a summary list of Amazon EC2 instances.

Returns:
Provides a summary list of Amazon EC2 instances.

setInstances

public void setInstances(Collection<Instance> instances)
Provides a summary list of Amazon EC2 instances.

Parameters:
instances - Provides a summary list of Amazon EC2 instances.

withInstances

public AutoScalingGroup withInstances(Instance... instances)
Provides a summary list of Amazon EC2 instances.

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

Parameters:
instances - Provides a summary list of Amazon EC2 instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public AutoScalingGroup withInstances(Collection<Instance> instances)
Provides a summary list of Amazon EC2 instances.

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

Parameters:
instances - Provides a summary list of Amazon EC2 instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedTime

public Date getCreatedTime()
Specifies the date and time the Auto Scaling group was created.

Returns:
Specifies the date and time the Auto Scaling group was created.

setCreatedTime

public void setCreatedTime(Date createdTime)
Specifies the date and time the Auto Scaling group was created.

Parameters:
createdTime - Specifies the date and time the Auto Scaling group was created.

withCreatedTime

public AutoScalingGroup withCreatedTime(Date createdTime)
Specifies the date and time the Auto Scaling group was created.

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

Parameters:
createdTime - Specifies the date and time the Auto Scaling group was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getSuspendedProcesses

public List<SuspendedProcess> getSuspendedProcesses()
Suspended processes associated with this Auto Scaling group.

Returns:
Suspended processes associated with this Auto Scaling group.

setSuspendedProcesses

public void setSuspendedProcesses(Collection<SuspendedProcess> suspendedProcesses)
Suspended processes associated with this Auto Scaling group.

Parameters:
suspendedProcesses - Suspended processes associated with this Auto Scaling group.

withSuspendedProcesses

public AutoScalingGroup withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
Suspended processes associated with this Auto Scaling group.

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

Parameters:
suspendedProcesses - Suspended processes associated with this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withSuspendedProcesses

public AutoScalingGroup withSuspendedProcesses(Collection<SuspendedProcess> suspendedProcesses)
Suspended processes associated with this Auto Scaling group.

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

Parameters:
suspendedProcesses - Suspended processes associated with this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlacementGroup

public String getPlacementGroup()
The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

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

Returns:
The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

setPlacementGroup

public void setPlacementGroup(String placementGroup)
The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

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

Parameters:
placementGroup - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

withPlacementGroup

public AutoScalingGroup withPlacementGroup(String placementGroup)
The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

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

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

Parameters:
placementGroup - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.

getVPCZoneIdentifier

public String getVPCZoneIdentifier()
The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.

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

Returns:
The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.


setVPCZoneIdentifier

public void setVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.

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

Parameters:
vPCZoneIdentifier - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.


withVPCZoneIdentifier

public AutoScalingGroup withVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.

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

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

Parameters:
vPCZoneIdentifier - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.

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

getEnabledMetrics

public List<EnabledMetric> getEnabledMetrics()
A list of metrics enabled for this Auto Scaling group.

Returns:
A list of metrics enabled for this Auto Scaling group.

setEnabledMetrics

public void setEnabledMetrics(Collection<EnabledMetric> enabledMetrics)
A list of metrics enabled for this Auto Scaling group.

Parameters:
enabledMetrics - A list of metrics enabled for this Auto Scaling group.

withEnabledMetrics

public AutoScalingGroup withEnabledMetrics(EnabledMetric... enabledMetrics)
A list of metrics enabled for this Auto Scaling group.

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

Parameters:
enabledMetrics - A list of metrics enabled for this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withEnabledMetrics

public AutoScalingGroup withEnabledMetrics(Collection<EnabledMetric> enabledMetrics)
A list of metrics enabled for this Auto Scaling group.

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

Parameters:
enabledMetrics - A list of metrics enabled for this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
A list of status conditions for the Auto Scaling group.

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

Returns:
A list of status conditions for the Auto Scaling group.

setStatus

public void setStatus(String status)
A list of status conditions for the Auto Scaling group.

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

Parameters:
status - A list of status conditions for the Auto Scaling group.

withStatus

public AutoScalingGroup withStatus(String status)
A list of status conditions for the Auto Scaling group.

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

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

Parameters:
status - A list of status conditions for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public List<TagDescription> getTags()
A list of tags for the Auto Scaling group.

Returns:
A list of tags for the Auto Scaling group.

setTags

public void setTags(Collection<TagDescription> tags)
A list of tags for the Auto Scaling group.

Parameters:
tags - A list of tags for the Auto Scaling group.

withTags

public AutoScalingGroup withTags(TagDescription... tags)
A list of tags for the Auto Scaling group.

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

Parameters:
tags - A list of tags for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public AutoScalingGroup withTags(Collection<TagDescription> tags)
A list of tags for the Auto Scaling group.

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

Parameters:
tags - A list of tags for the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getTerminationPolicies

public List<String> getTerminationPolicies()
A standalone termination policy or a list of termination policies for this Auto Scaling group.

Returns:
A standalone termination policy or a list of termination policies for this Auto Scaling group.

setTerminationPolicies

public void setTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group.

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies for this Auto Scaling group.

withTerminationPolicies

public AutoScalingGroup withTerminationPolicies(String... terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group.

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

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies for this Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

withTerminationPolicies

public AutoScalingGroup withTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group.

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

Parameters:
terminationPolicies - A standalone termination policy or a list of termination policies for this Auto Scaling 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.