@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HibernationOptionsRequest extends Object implements Serializable, Cloneable
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
| Constructor and Description | 
|---|
HibernationOptionsRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
HibernationOptionsRequest | 
clone()  | 
boolean | 
equals(Object obj)  | 
Boolean | 
getConfigured()
 Set to  
true to enable your instance for hibernation. | 
int | 
hashCode()  | 
Boolean | 
isConfigured()
 Set to  
true to enable your instance for hibernation. | 
void | 
setConfigured(Boolean configured)
 Set to  
true to enable your instance for hibernation. | 
String | 
toString()
Returns a string representation of this object. 
 | 
HibernationOptionsRequest | 
withConfigured(Boolean configured)
 Set to  
true to enable your instance for hibernation. | 
public void setConfigured(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
 
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
public Boolean getConfigured()
 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
 
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
public HibernationOptionsRequest withConfigured(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
 
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
public Boolean isConfigured()
 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
 
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
public String toString()
toString in class ObjectObject.toString()public HibernationOptionsRequest clone()