Interface CompleteLifecycleActionRequest.Builder

    • Method Detail

      • lifecycleHookName

        CompleteLifecycleActionRequest.Builder lifecycleHookName​(String lifecycleHookName)

        The name of the lifecycle hook.

        Parameters:
        lifecycleHookName - The name of the lifecycle hook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingGroupName

        CompleteLifecycleActionRequest.Builder autoScalingGroupName​(String autoScalingGroupName)

        The name of the Auto Scaling group.

        Parameters:
        autoScalingGroupName - The name of the Auto Scaling group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycleActionToken

        CompleteLifecycleActionRequest.Builder lifecycleActionToken​(String lifecycleActionToken)

        A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

        Parameters:
        lifecycleActionToken - A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycleActionResult

        CompleteLifecycleActionRequest.Builder lifecycleActionResult​(String lifecycleActionResult)

        The action for the group to take. You can specify either CONTINUE or ABANDON.

        Parameters:
        lifecycleActionResult - The action for the group to take. You can specify either CONTINUE or ABANDON .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        CompleteLifecycleActionRequest.Builder instanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.