@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupProvider extends Object implements Serializable, Cloneable, StructuredPojo
The details of the Auto Scaling group for the capacity provider.
Constructor and Description |
---|
AutoScalingGroupProvider() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupProvider |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupArn()
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
|
String |
getManagedDraining()
The managed draining option for the Auto Scaling group capacity provider.
|
ManagedScaling |
getManagedScaling()
The managed scaling settings for the Auto Scaling group capacity provider.
|
String |
getManagedTerminationProtection()
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
|
void |
setManagedDraining(String managedDraining)
The managed draining option for the Auto Scaling group capacity provider.
|
void |
setManagedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
|
void |
setManagedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupProvider |
withAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
|
AutoScalingGroupProvider |
withManagedDraining(ManagedDraining managedDraining)
The managed draining option for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider |
withManagedDraining(String managedDraining)
The managed draining option for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider |
withManagedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider |
withManagedTerminationProtection(ManagedTerminationProtection managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
AutoScalingGroupProvider |
withManagedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
public void setAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
autoScalingGroupArn
- The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.public String getAutoScalingGroupArn()
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
public AutoScalingGroupProvider withAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
autoScalingGroupArn
- The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.public void setManagedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
managedScaling
- The managed scaling settings for the Auto Scaling group capacity provider.public ManagedScaling getManagedScaling()
The managed scaling settings for the Auto Scaling group capacity provider.
public AutoScalingGroupProvider withManagedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
managedScaling
- The managed scaling settings for the Auto Scaling group capacity provider.public void setManagedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
managedTerminationProtection
- The managed termination protection setting to use for the Auto Scaling group capacity provider. This
determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
ManagedTerminationProtection
public String getManagedTerminationProtection()
The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
ManagedTerminationProtection
public AutoScalingGroupProvider withManagedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
managedTerminationProtection
- The managed termination protection setting to use for the Auto Scaling group capacity provider. This
determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
ManagedTerminationProtection
public AutoScalingGroupProvider withManagedTerminationProtection(ManagedTerminationProtection managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
managedTerminationProtection
- The managed termination protection setting to use for the Auto Scaling group capacity provider. This
determines whether the Auto Scaling group has managed termination protection. The default is off.
When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work.
When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
ManagedTerminationProtection
public void setManagedDraining(String managedDraining)
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
managedDraining
- The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS
manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity
provider.ManagedDraining
public String getManagedDraining()
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
ManagedDraining
public AutoScalingGroupProvider withManagedDraining(String managedDraining)
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
managedDraining
- The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS
manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity
provider.ManagedDraining
public AutoScalingGroupProvider withManagedDraining(ManagedDraining managedDraining)
The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
managedDraining
- The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS
manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity
provider.ManagedDraining
public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupProvider clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.