Interface HibernationOptionsRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<HibernationOptionsRequest.Builder,HibernationOptionsRequest>
,SdkBuilder<HibernationOptionsRequest.Builder,HibernationOptionsRequest>
,SdkPojo
- Enclosing class:
- HibernationOptionsRequest
public static interface HibernationOptionsRequest.Builder extends SdkPojo, CopyableBuilder<HibernationOptionsRequest.Builder,HibernationOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HibernationOptionsRequest.Builder
configured(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 Detail
-
configured
HibernationOptionsRequest.Builder configured(Boolean 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.
-
-
-