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 totrueto enable your instance for hibernation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configured
Set to
trueto enable your instance for hibernation.For Spot Instances, if you set
Configuredtotrue, either omit theInstanceInterruptionBehaviorparameter (forSpotMarketOptions), or set it tohibernate. WhenConfiguredis true:-
If you omit
InstanceInterruptionBehavior, it defaults tohibernate. -
If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.
Default:
false- Parameters:
configured- Set totrueto enable your instance for hibernation.For Spot Instances, if you set
Configuredtotrue, either omit theInstanceInterruptionBehaviorparameter (forSpotMarketOptions), or set it tohibernate. WhenConfiguredis true:-
If you omit
InstanceInterruptionBehavior, it defaults tohibernate. -
If you set
InstanceInterruptionBehaviorto 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.
-
-