@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateHibernationOptions extends Object implements Serializable, Cloneable
Indicates whether an instance is configured for hibernation.
Constructor and Description |
---|
LaunchTemplateHibernationOptions() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateHibernationOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConfigured()
If this parameter is set to
true , the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
int |
hashCode() |
Boolean |
isConfigured()
If this parameter is set to
true , the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
void |
setConfigured(Boolean configured)
If this parameter is set to
true , the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateHibernationOptions |
withConfigured(Boolean configured)
If this parameter is set to
true , the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation. |
public void setConfigured(Boolean configured)
If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
configured
- If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public Boolean getConfigured()
If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
true
, the instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public LaunchTemplateHibernationOptions withConfigured(Boolean configured)
If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
configured
- If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public Boolean isConfigured()
If this parameter is set to true
, the instance is enabled for hibernation; otherwise, it is not
enabled for hibernation.
true
, the instance is enabled for hibernation; otherwise, it is
not enabled for hibernation.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateHibernationOptions clone()