Interface InstanceLifecyclePolicy.Builder

    • Method Detail

      • retentionTriggers

        InstanceLifecyclePolicy.Builder retentionTriggers​(RetentionTriggers retentionTriggers)

        Specifies the conditions that trigger instance retention behavior. These triggers determine when instances should move to a Retained state instead of being terminated. This allows you to maintain control over instance management when lifecycle operations fail.

        Parameters:
        retentionTriggers - Specifies the conditions that trigger instance retention behavior. These triggers determine when instances should move to a Retained state instead of being terminated. This allows you to maintain control over instance management when lifecycle operations fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.