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.Builderconfigured(Boolean configured)Set totrueto 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
configured
HibernationOptionsRequest.Builder configured(Boolean 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.
-
-
-