com.amazonaws.services.autoscaling.model
Class AutoScalingGroup

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.AutoScalingGroup
All Implemented Interfaces:
java.io.Serializable

public class AutoScalingGroup
extends java.lang.Object
implements java.io.Serializable

The AutoScalingGroup data type.

See Also:
Serialized Form

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

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
Specifies the name of the group.

setAutoScalingGroupName

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

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
autoScalingGroupName - Specifies the name of the group.

withAutoScalingGroupName

public AutoScalingGroup withAutoScalingGroupName(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.lang.String getAutoScalingGroupARN()
The Amazon Resource Name (ARN) of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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

setAutoScalingGroupARN

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

Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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

withAutoScalingGroupARN

public AutoScalingGroup withAutoScalingGroupARN(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.lang.String getLaunchConfigurationName()
Specifies the name of the associated LaunchConfiguration.

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
Specifies the name of the associated LaunchConfiguration.

setLaunchConfigurationName

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

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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

withLaunchConfigurationName

public AutoScalingGroup withLaunchConfigurationName(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.lang.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(java.lang.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(java.lang.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 java.util.List<Instance> getInstances()
Provides a summary list of Amazon EC2 instances.

Returns:
Provides a summary list of Amazon EC2 instances.

setInstances

public void setInstances(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.util.List<SuspendedProcess> getSuspendedProcesses()
Suspended processes associated with this Auto Scaling group.

Returns:
Suspended processes associated with this Auto Scaling group.

setSuspendedProcesses

public void setSuspendedProcesses(java.util.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(java.util.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 java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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(java.lang.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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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 java.util.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(java.util.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(java.util.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 java.lang.String getStatus()
The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.

setStatus

public void setStatus(java.lang.String status)
The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
status - The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.

withStatus

public AutoScalingGroup withStatus(java.lang.String status)
The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.

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

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
status - The current state of the Auto Scaling group when a DeleteAutoScalingGroup action is in progress.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public java.util.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(java.util.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(java.util.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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