public class AutoScalingGroup
extends java.lang.Object
implements java.io.Serializable
Describes an Auto Scaling group.
Constructor and Description |
---|
AutoScalingGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupARN()
The Amazon Resource Name (ARN) of the group.
|
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.util.List<java.lang.String> |
getAvailabilityZones()
One or more Availability Zones for the group.
|
java.util.Date |
getCreatedTime()
The date and time the group was created.
|
java.lang.Integer |
getDefaultCooldown()
The amount of time, in seconds, after a scaling activity completes before
another scaling activity can start.
|
java.lang.Integer |
getDesiredCapacity()
The desired size of the group.
|
java.util.List<EnabledMetric> |
getEnabledMetrics()
The metrics enabled for the group.
|
java.lang.Integer |
getHealthCheckGracePeriod()
The amount of time, in seconds, that Auto Scaling waits before checking
the health status of an EC2 instance that has come into service.
|
java.lang.String |
getHealthCheckType()
The service to use for the health checks.
|
java.util.List<Instance> |
getInstances()
The EC2 instances associated with the group.
|
java.lang.String |
getLaunchConfigurationName()
The name of the associated launch configuration.
|
java.util.List<java.lang.String> |
getLoadBalancerNames()
One or more load balancers associated with the group.
|
java.lang.Integer |
getMaxSize()
The maximum size of the group.
|
java.lang.Integer |
getMinSize()
The minimum size of the group.
|
java.lang.Boolean |
getNewInstancesProtectedFromScaleIn()
Indicates whether newly launched instances are protected from termination
by Auto Scaling when scaling in.
|
java.lang.String |
getPlacementGroup()
The name of the placement group into which you'll launch your instances,
if any.
|
java.lang.String |
getStatus()
The current state of the group when DeleteAutoScalingGroup is in
progress.
|
java.util.List<SuspendedProcess> |
getSuspendedProcesses()
The suspended processes associated with the group.
|
java.util.List<TagDescription> |
getTags()
The tags for the group.
|
java.util.List<java.lang.String> |
getTerminationPolicies()
The termination policies for the group.
|
java.lang.String |
getVPCZoneIdentifier()
One or more subnet IDs, if applicable, separated by commas.
|
int |
hashCode() |
java.lang.Boolean |
isNewInstancesProtectedFromScaleIn()
Indicates whether newly launched instances are protected from termination
by Auto Scaling when scaling in.
|
void |
setAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the group.
|
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
One or more Availability Zones for the group.
|
void |
setCreatedTime(java.util.Date createdTime)
The date and time the group was created.
|
void |
setDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before
another scaling activity can start.
|
void |
setDesiredCapacity(java.lang.Integer desiredCapacity)
The desired size of the group.
|
void |
setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
The metrics enabled for the group.
|
void |
setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The amount of time, in seconds, that Auto Scaling waits before checking
the health status of an EC2 instance that has come into service.
|
void |
setHealthCheckType(java.lang.String healthCheckType)
The service to use for the health checks.
|
void |
setInstances(java.util.Collection<Instance> instances)
The EC2 instances associated with the group.
|
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the associated launch configuration.
|
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancers associated with the group.
|
void |
setMaxSize(java.lang.Integer maxSize)
The maximum size of the group.
|
void |
setMinSize(java.lang.Integer minSize)
The minimum size of the group.
|
void |
setNewInstancesProtectedFromScaleIn(java.lang.Boolean newInstancesProtectedFromScaleIn)
Indicates whether newly launched instances are protected from termination
by Auto Scaling when scaling in.
|
void |
setPlacementGroup(java.lang.String placementGroup)
The name of the placement group into which you'll launch your instances,
if any.
|
void |
setStatus(java.lang.String status)
The current state of the group when DeleteAutoScalingGroup is in
progress.
|
void |
setSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
The suspended processes associated with the group.
|
void |
setTags(java.util.Collection<TagDescription> tags)
The tags for the group.
|
void |
setTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)
The termination policies for the group.
|
void |
setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
One or more subnet IDs, if applicable, separated by commas.
|
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 group.
|
AutoScalingGroup |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
AutoScalingGroup |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
One or more Availability Zones for the group.
|
AutoScalingGroup |
withAvailabilityZones(java.lang.String... availabilityZones)
One or more Availability Zones for the group.
|
AutoScalingGroup |
withCreatedTime(java.util.Date createdTime)
The date and time the group was created.
|
AutoScalingGroup |
withDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before
another scaling activity can start.
|
AutoScalingGroup |
withDesiredCapacity(java.lang.Integer desiredCapacity)
The desired size of the group.
|
AutoScalingGroup |
withEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
The metrics enabled for the group.
|
AutoScalingGroup |
withEnabledMetrics(EnabledMetric... enabledMetrics)
The metrics enabled for the group.
|
AutoScalingGroup |
withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The amount of time, in seconds, that Auto Scaling waits before checking
the health status of an EC2 instance that has come into service.
|
AutoScalingGroup |
withHealthCheckType(java.lang.String healthCheckType)
The service to use for the health checks.
|
AutoScalingGroup |
withInstances(java.util.Collection<Instance> instances)
The EC2 instances associated with the group.
|
AutoScalingGroup |
withInstances(Instance... instances)
The EC2 instances associated with the group.
|
AutoScalingGroup |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the associated launch configuration.
|
AutoScalingGroup |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancers associated with the group.
|
AutoScalingGroup |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
One or more load balancers associated with the group.
|
AutoScalingGroup |
withMaxSize(java.lang.Integer maxSize)
The maximum size of the group.
|
AutoScalingGroup |
withMinSize(java.lang.Integer minSize)
The minimum size of the group.
|
AutoScalingGroup |
withNewInstancesProtectedFromScaleIn(java.lang.Boolean newInstancesProtectedFromScaleIn)
Indicates whether newly launched instances are protected from termination
by Auto Scaling when scaling in.
|
AutoScalingGroup |
withPlacementGroup(java.lang.String placementGroup)
The name of the placement group into which you'll launch your instances,
if any.
|
AutoScalingGroup |
withStatus(java.lang.String status)
The current state of the group when DeleteAutoScalingGroup is in
progress.
|
AutoScalingGroup |
withSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
The suspended processes associated with the group.
|
AutoScalingGroup |
withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
The suspended processes associated with the group.
|
AutoScalingGroup |
withTags(java.util.Collection<TagDescription> tags)
The tags for the group.
|
AutoScalingGroup |
withTags(TagDescription... tags)
The tags for the group.
|
AutoScalingGroup |
withTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)
The termination policies for the group.
|
AutoScalingGroup |
withTerminationPolicies(java.lang.String... terminationPolicies)
The termination policies for the group.
|
AutoScalingGroup |
withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
One or more subnet IDs, if applicable, separated by commas.
|
public java.lang.String getAutoScalingGroupName()
The name of the group.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public AutoScalingGroup withAutoScalingGroupName(java.lang.String autoScalingGroupName)
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]*
autoScalingGroupName
- The name of the group.
public java.lang.String getAutoScalingGroupARN()
The Amazon Resource Name (ARN) of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The Amazon Resource Name (ARN) of the group.
public void setAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupARN
- The Amazon Resource Name (ARN) of the group.
public AutoScalingGroup withAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupARN
- The Amazon Resource Name (ARN) of the group.
public java.lang.String getLaunchConfigurationName()
The name of the associated launch configuration.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the associated launch configuration.
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the associated launch configuration.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName
- The name of the associated launch configuration.
public AutoScalingGroup withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the associated launch configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName
- The name of the associated launch configuration.
public java.lang.Integer getMinSize()
The minimum size of the group.
The minimum size of the group.
public void setMinSize(java.lang.Integer minSize)
The minimum size of the group.
minSize
- The minimum size of the group.
public AutoScalingGroup withMinSize(java.lang.Integer minSize)
The minimum size of the group.
Returns a reference to this object so that method calls can be chained together.
minSize
- The minimum size of the group.
public java.lang.Integer getMaxSize()
The maximum size of the group.
The maximum size of the group.
public void setMaxSize(java.lang.Integer maxSize)
The maximum size of the group.
maxSize
- The maximum size of the group.
public AutoScalingGroup withMaxSize(java.lang.Integer maxSize)
The maximum size of the group.
Returns a reference to this object so that method calls can be chained together.
maxSize
- The maximum size of the group.
public java.lang.Integer getDesiredCapacity()
The desired size of the group.
The desired size of the group.
public void setDesiredCapacity(java.lang.Integer desiredCapacity)
The desired size of the group.
desiredCapacity
- The desired size of the group.
public AutoScalingGroup withDesiredCapacity(java.lang.Integer desiredCapacity)
The desired size of the group.
Returns a reference to this object so that method calls can be chained together.
desiredCapacity
- The desired size of the group.
public java.lang.Integer getDefaultCooldown()
The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
public void setDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
defaultCooldown
- The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
public AutoScalingGroup withDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
Returns a reference to this object so that method calls can be chained together.
defaultCooldown
- The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
public java.util.List<java.lang.String> getAvailabilityZones()
One or more Availability Zones for the group.
One or more Availability Zones for the group.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
One or more Availability Zones for the group.
availabilityZones
- One or more Availability Zones for the group.
public AutoScalingGroup withAvailabilityZones(java.lang.String... availabilityZones)
One or more Availability Zones for the group.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- One or more Availability Zones for the group.
public AutoScalingGroup withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
One or more Availability Zones for the group.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- One or more Availability Zones for the group.
public java.util.List<java.lang.String> getLoadBalancerNames()
One or more load balancers associated with the group.
One or more load balancers associated with the group.
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancers associated with the group.
loadBalancerNames
- One or more load balancers associated with the group.
public AutoScalingGroup withLoadBalancerNames(java.lang.String... loadBalancerNames)
One or more load balancers associated with the group.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- One or more load balancers associated with the group.
public AutoScalingGroup withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancers associated with the group.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- One or more load balancers associated with the group.
public java.lang.String getHealthCheckType()
The service to use for the health checks. The valid values are
EC2
and ELB
.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
The service to use for the health checks. The valid values are
EC2
and ELB
.
public void setHealthCheckType(java.lang.String healthCheckType)
The service to use for the health checks. The valid values are
EC2
and ELB
.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthCheckType
-
The service to use for the health checks. The valid values are
EC2
and ELB
.
public AutoScalingGroup withHealthCheckType(java.lang.String healthCheckType)
The service to use for the health checks. The valid values are
EC2
and ELB
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthCheckType
-
The service to use for the health checks. The valid values are
EC2
and ELB
.
public java.lang.Integer getHealthCheckGracePeriod()
The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
public void setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
healthCheckGracePeriod
- The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
public AutoScalingGroup withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
Returns a reference to this object so that method calls can be chained together.
healthCheckGracePeriod
- The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
public java.util.List<Instance> getInstances()
The EC2 instances associated with the group.
The EC2 instances associated with the group.
public void setInstances(java.util.Collection<Instance> instances)
The EC2 instances associated with the group.
instances
- The EC2 instances associated with the group.
public AutoScalingGroup withInstances(Instance... instances)
The EC2 instances associated with the group.
Returns a reference to this object so that method calls can be chained together.
instances
- The EC2 instances associated with the group.
public AutoScalingGroup withInstances(java.util.Collection<Instance> instances)
The EC2 instances associated with the group.
Returns a reference to this object so that method calls can be chained together.
instances
- The EC2 instances associated with the group.
public java.util.Date getCreatedTime()
The date and time the group was created.
The date and time the group was created.
public void setCreatedTime(java.util.Date createdTime)
The date and time the group was created.
createdTime
- The date and time the group was created.
public AutoScalingGroup withCreatedTime(java.util.Date createdTime)
The date and time the group was created.
Returns a reference to this object so that method calls can be chained together.
createdTime
- The date and time the group was created.
public java.util.List<SuspendedProcess> getSuspendedProcesses()
The suspended processes associated with the group.
The suspended processes associated with the group.
public void setSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
The suspended processes associated with the group.
suspendedProcesses
- The suspended processes associated with the group.
public AutoScalingGroup withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
The suspended processes associated with the group.
Returns a reference to this object so that method calls can be chained together.
suspendedProcesses
- The suspended processes associated with the group.
public AutoScalingGroup withSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
The suspended processes associated with the group.
Returns a reference to this object so that method calls can be chained together.
suspendedProcesses
- The suspended processes associated with the group.
public java.lang.String getPlacementGroup()
The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
public void setPlacementGroup(java.lang.String placementGroup)
The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
placementGroup
- The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
public AutoScalingGroup withPlacementGroup(java.lang.String placementGroup)
The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
placementGroup
- The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
public java.lang.String getVPCZoneIdentifier()
One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability Zones of the
subnets match the values for AvailabilityZones
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability
Zones of the subnets match the values for
AvailabilityZones
.
public void setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability Zones of the
subnets match the values for AvailabilityZones
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
vPCZoneIdentifier
- One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability
Zones of the subnets match the values for
AvailabilityZones
.
public AutoScalingGroup withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability Zones of the
subnets match the values for AvailabilityZones
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
vPCZoneIdentifier
- One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and
AvailabilityZones
, ensure that the Availability
Zones of the subnets match the values for
AvailabilityZones
.
public java.util.List<EnabledMetric> getEnabledMetrics()
The metrics enabled for the group.
The metrics enabled for the group.
public void setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
The metrics enabled for the group.
enabledMetrics
- The metrics enabled for the group.
public AutoScalingGroup withEnabledMetrics(EnabledMetric... enabledMetrics)
The metrics enabled for the group.
Returns a reference to this object so that method calls can be chained together.
enabledMetrics
- The metrics enabled for the group.
public AutoScalingGroup withEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
The metrics enabled for the group.
Returns a reference to this object so that method calls can be chained together.
enabledMetrics
- The metrics enabled for the group.
public java.lang.String getStatus()
The current state of the group when DeleteAutoScalingGroup is in progress.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The current state of the group when DeleteAutoScalingGroup is in progress.
public void setStatus(java.lang.String status)
The current state of the group when DeleteAutoScalingGroup is in progress.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
status
- The current state of the group when DeleteAutoScalingGroup is in progress.
public AutoScalingGroup withStatus(java.lang.String status)
The current state of the group when DeleteAutoScalingGroup is in progress.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
status
- The current state of the group when DeleteAutoScalingGroup is in progress.
public java.util.List<TagDescription> getTags()
The tags for the group.
The tags for the group.
public void setTags(java.util.Collection<TagDescription> tags)
The tags for the group.
tags
- The tags for the group.
public AutoScalingGroup withTags(TagDescription... tags)
The tags for the group.
Returns a reference to this object so that method calls can be chained together.
tags
- The tags for the group.
public AutoScalingGroup withTags(java.util.Collection<TagDescription> tags)
The tags for the group.
Returns a reference to this object so that method calls can be chained together.
tags
- The tags for the group.
public java.util.List<java.lang.String> getTerminationPolicies()
The termination policies for the group.
The termination policies for the group.
public void setTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)
The termination policies for the group.
terminationPolicies
- The termination policies for the group.
public AutoScalingGroup withTerminationPolicies(java.lang.String... terminationPolicies)
The termination policies for the group.
Returns a reference to this object so that method calls can be chained together.
terminationPolicies
- The termination policies for the group.
public AutoScalingGroup withTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)
The termination policies for the group.
Returns a reference to this object so that method calls can be chained together.
terminationPolicies
- The termination policies for the group.
public java.lang.Boolean isNewInstancesProtectedFromScaleIn()
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
public java.lang.Boolean getNewInstancesProtectedFromScaleIn()
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
public void setNewInstancesProtectedFromScaleIn(java.lang.Boolean newInstancesProtectedFromScaleIn)
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
newInstancesProtectedFromScaleIn
- Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
public AutoScalingGroup withNewInstancesProtectedFromScaleIn(java.lang.Boolean newInstancesProtectedFromScaleIn)
Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
Returns a reference to this object so that method calls can be chained together.
newInstancesProtectedFromScaleIn
- Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.