@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataHibernationOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether your Amazon EC2 instance is configured for hibernation.
| Constructor and Description |
|---|
AwsEc2LaunchTemplateDataHibernationOptionsDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataHibernationOptionsDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConfigured()
If you set this parameter to
true, the instance is enabled for hibernation. |
int |
hashCode() |
Boolean |
isConfigured()
If you set this parameter to
true, the instance is enabled for hibernation. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfigured(Boolean configured)
If you set this parameter to
true, the instance is enabled for hibernation. |
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataHibernationOptionsDetails |
withConfigured(Boolean configured)
If you set this parameter to
true, the instance is enabled for hibernation. |
public AwsEc2LaunchTemplateDataHibernationOptionsDetails()
public void setConfigured(Boolean configured)
If you set this parameter to true, the instance is enabled for hibernation.
configured - If you set this parameter to true, the instance is enabled for hibernation.public Boolean getConfigured()
If you set this parameter to true, the instance is enabled for hibernation.
true, the instance is enabled for hibernation.public AwsEc2LaunchTemplateDataHibernationOptionsDetails withConfigured(Boolean configured)
If you set this parameter to true, the instance is enabled for hibernation.
configured - If you set this parameter to true, the instance is enabled for hibernation.public Boolean isConfigured()
If you set this parameter to true, the instance is enabled for hibernation.
true, the instance is enabled for hibernation.public String toString()
toString in class ObjectObject.toString()public AwsEc2LaunchTemplateDataHibernationOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.