Interface HibernationOptionsRequest.Builder

    • Method Detail

      • configured

        HibernationOptionsRequest.Builder configured​(Boolean configured)

        Set to true to enable your instance for hibernation.

        For Spot Instances, if you set Configured to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions ), or set it to hibernate. When Configured is true:

        • If you omit InstanceInterruptionBehavior, it defaults to hibernate.

        • If you set InstanceInterruptionBehavior to a value other than hibernate, you'll get an error.

        Default: false

        Parameters:
        configured - Set to true to enable your instance for hibernation.

        For Spot Instances, if you set Configured to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions ), or set it to hibernate. When Configured is true:

        • If you omit InstanceInterruptionBehavior, it defaults to hibernate.

        • If you set InstanceInterruptionBehavior to a value other than hibernate, you'll get an error.

        Default: false

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