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