@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HibernationOptions 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 |
---|
HibernationOptions() |
Modifier and Type | Method and Description |
---|---|
HibernationOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConfigured()
If
true , your instance is enabled for hibernation; otherwise, it is not enabled for hibernation. |
int |
hashCode() |
Boolean |
isConfigured()
If
true , your instance is enabled for hibernation; otherwise, it is not enabled for hibernation. |
void |
setConfigured(Boolean configured)
If
true , your instance is enabled for hibernation; otherwise, it is not enabled for hibernation. |
String |
toString()
Returns a string representation of this object.
|
HibernationOptions |
withConfigured(Boolean configured)
If
true , your instance is enabled for hibernation; otherwise, it is not enabled for hibernation. |
public void setConfigured(Boolean configured)
If true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
configured
- If true
, your instance is enabled for hibernation; otherwise, it is not enabled for
hibernation.public Boolean getConfigured()
If true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
true
, your instance is enabled for hibernation; otherwise, it is not enabled for
hibernation.public HibernationOptions withConfigured(Boolean configured)
If true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
configured
- If true
, your instance is enabled for hibernation; otherwise, it is not enabled for
hibernation.public Boolean isConfigured()
If true
, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.
true
, your instance is enabled for hibernation; otherwise, it is not enabled for
hibernation.public String toString()
toString
in class Object
Object.toString()
public HibernationOptions clone()