@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceMaintenanceOptionsRequest extends Object implements Serializable, Cloneable
The maintenance options for the instance.
| Constructor and Description | 
|---|
| InstanceMaintenanceOptionsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| InstanceMaintenanceOptionsRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getAutoRecovery()
 Disables the automatic recovery behavior of your instance or sets it to default. | 
| int | hashCode() | 
| 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. | 
| InstanceMaintenanceOptionsRequest | withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
 Disables the automatic recovery behavior of your instance or sets it to default. | 
| InstanceMaintenanceOptionsRequest | withAutoRecovery(String autoRecovery)
 Disables the automatic recovery behavior of your instance or sets it to default. | 
public void setAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
autoRecovery - Disables the automatic recovery behavior of your instance or sets it to default. For more information, see
        Simplified automatic recovery.InstanceAutoRecoveryStatepublic String getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
InstanceAutoRecoveryStatepublic InstanceMaintenanceOptionsRequest withAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
autoRecovery - Disables the automatic recovery behavior of your instance or sets it to default. For more information, see
        Simplified automatic recovery.InstanceAutoRecoveryStatepublic InstanceMaintenanceOptionsRequest withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
autoRecovery - Disables the automatic recovery behavior of your instance or sets it to default. For more information, see
        Simplified automatic recovery.InstanceAutoRecoveryStatepublic String toString()
toString in class ObjectObject.toString()public InstanceMaintenanceOptionsRequest clone()