Interface HibernationOptionsRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HibernationOptionsRequest.Builder,
,HibernationOptionsRequest> SdkBuilder<HibernationOptionsRequest.Builder,
,HibernationOptionsRequest> SdkPojo
- Enclosing class:
HibernationOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigured
(Boolean configured) Set totrue
to enable your instance for hibernation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
configured
Set to
true
to enable your instance for hibernation.For Spot Instances, if you set
Configured
totrue
, either omit theInstanceInterruptionBehavior
parameter (forSpotMarketOptions
), or set it tohibernate
. WhenConfigured
is true:-
If you omit
InstanceInterruptionBehavior
, it defaults tohibernate
. -
If you set
InstanceInterruptionBehavior
to a value other thanhibernate
, you'll get an error.
Default:
false
- Parameters:
configured
- Set totrue
to enable your instance for hibernation.For Spot Instances, if you set
Configured
totrue
, either omit theInstanceInterruptionBehavior
parameter (forSpotMarketOptions
), or set it tohibernate
. WhenConfigured
is true:-
If you omit
InstanceInterruptionBehavior
, it defaults tohibernate
. -
If you set
InstanceInterruptionBehavior
to a value other thanhibernate
, you'll get an error.
Default:
false
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-