Interface AutoScalingGroupProviderUpdate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoScalingGroupProviderUpdate.Builder,AutoScalingGroupProviderUpdate>, SdkBuilder<AutoScalingGroupProviderUpdate.Builder,AutoScalingGroupProviderUpdate>, SdkPojo
Enclosing class:
AutoScalingGroupProviderUpdate

public static interface AutoScalingGroupProviderUpdate.Builder extends SdkPojo, CopyableBuilder<AutoScalingGroupProviderUpdate.Builder,AutoScalingGroupProviderUpdate>
  • Method Details

    • managedScaling

      The managed scaling settings for the Auto Scaling group capacity provider.

      Parameters:
      managedScaling - The managed scaling settings for the Auto Scaling group capacity provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • managedScaling

      The managed scaling settings for the Auto Scaling group capacity provider.

      This is a convenience method that creates an instance of the ManagedScaling.Builder avoiding the need to create one manually via ManagedScaling.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to managedScaling(ManagedScaling).

      Parameters:
      managedScaling - a consumer that will call methods on ManagedScaling.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedTerminationProtection

      AutoScalingGroupProviderUpdate.Builder managedTerminationProtection(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedTerminationProtection

      AutoScalingGroupProviderUpdate.Builder managedTerminationProtection(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedDraining

      AutoScalingGroupProviderUpdate.Builder managedDraining(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • managedDraining

      AutoScalingGroupProviderUpdate.Builder managedDraining(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: