@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) |
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 |
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 |
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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, 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 enabled, 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 enabled. For more information, see Instance Protection in the Auto Scaling User Guide.
When managed termination protection is disabled, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in.
ManagedTerminationProtection
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.