@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.LaunchTemplateAutoRecoveryState
public String getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
LaunchTemplateAutoRecoveryState
public 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.LaunchTemplateAutoRecoveryState
public 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.LaunchTemplateAutoRecoveryState
public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateInstanceMaintenanceOptionsRequest clone()