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