@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceMaintenanceOptions extends Object implements Serializable, Cloneable
The maintenance options for the instance.
Constructor and Description |
---|
InstanceMaintenanceOptions() |
Modifier and Type | Method and Description |
---|---|
InstanceMaintenanceOptions |
clone() |
boolean |
equals(Object obj) |
String |
getAutoRecovery()
Provides information on the current automatic recovery behavior of your instance.
|
int |
hashCode() |
void |
setAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
String |
toString()
Returns a string representation of this object.
|
InstanceMaintenanceOptions |
withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
InstanceMaintenanceOptions |
withAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
public void setAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
autoRecovery
- Provides information on the current automatic recovery behavior of your instance.InstanceAutoRecoveryState
public String getAutoRecovery()
Provides information on the current automatic recovery behavior of your instance.
InstanceAutoRecoveryState
public InstanceMaintenanceOptions withAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
autoRecovery
- Provides information on the current automatic recovery behavior of your instance.InstanceAutoRecoveryState
public InstanceMaintenanceOptions withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
autoRecovery
- Provides information on the current automatic recovery behavior of your instance.InstanceAutoRecoveryState
public String toString()
toString
in class Object
Object.toString()
public InstanceMaintenanceOptions clone()
Copyright © 2022. All rights reserved.