@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataMaintenanceOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
The maintenance options of an Amazon EC2 instance.
Constructor and Description |
---|
AwsEc2LaunchTemplateDataMaintenanceOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDataMaintenanceOptionsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataMaintenanceOptionsDetails |
withAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
|
public AwsEc2LaunchTemplateDataMaintenanceOptionsDetails()
public void setAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
autoRecovery
- Disables the automatic recovery behavior of your instance or sets it to default.public String getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
public AwsEc2LaunchTemplateDataMaintenanceOptionsDetails withAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
autoRecovery
- Disables the automatic recovery behavior of your instance or sets it to default.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDataMaintenanceOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.