Interface RetentionTriggers.Builder

    • Method Detail

      • terminateHookAbandon

        RetentionTriggers.Builder terminateHookAbandon​(String terminateHookAbandon)

        Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).

        Set to Retain to move instances to a Retained state. Set to Terminate for default termination behavior.

        Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup.

        Parameters:
        terminateHookAbandon - Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).

        Set to Retain to move instances to a Retained state. Set to Terminate for default termination behavior.

        Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup.

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

        RetentionTriggers.Builder terminateHookAbandon​(RetentionAction terminateHookAbandon)

        Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).

        Set to Retain to move instances to a Retained state. Set to Terminate for default termination behavior.

        Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup.

        Parameters:
        terminateHookAbandon - Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).

        Set to Retain to move instances to a Retained state. Set to Terminate for default termination behavior.

        Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup.

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