@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupProviderUpdate extends Object implements Serializable, Cloneable, StructuredPojo
The details of the Auto Scaling group capacity provider to update.
Constructor and Description |
---|
AutoScalingGroupProviderUpdate() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupProviderUpdate |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
AutoScalingGroupProviderUpdate |
withManagedDraining(ManagedDraining managedDraining)
The managed draining option for the Auto Scaling group capacity provider.
|
AutoScalingGroupProviderUpdate |
withManagedDraining(String managedDraining)
The managed draining option for the Auto Scaling group capacity provider.
|
AutoScalingGroupProviderUpdate |
withManagedScaling(ManagedScaling managedScaling)
The managed scaling settings for the Auto Scaling group capacity provider.
|
AutoScalingGroupProviderUpdate |
withManagedTerminationProtection(ManagedTerminationProtection managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
AutoScalingGroupProviderUpdate |
withManagedTerminationProtection(String managedTerminationProtection)
The managed termination protection setting to use for the Auto Scaling group capacity provider.
|
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 AutoScalingGroupProviderUpdate 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.
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. 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. 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. 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.
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. 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. 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 AutoScalingGroupProviderUpdate 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.
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. 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. 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. 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 AutoScalingGroupProviderUpdate 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.
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. 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. 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. 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 AutoScalingGroupProviderUpdate 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 AutoScalingGroupProviderUpdate 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 AutoScalingGroupProviderUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.