@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 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 this parameter is set to
true , your instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
int |
hashCode() |
Boolean |
isConfigured()
If this parameter is set to
true , your instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
void |
setConfigured(Boolean configured)
If this parameter is set to
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 this parameter is set to
true , your instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
public void setConfigured(Boolean configured)
If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
configured
- If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public Boolean getConfigured()
If this parameter is set to 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 this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
configured
- If this parameter is set to true
, your instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public Boolean isConfigured()
If this parameter is set to 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()