@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceMaintenanceOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ModifyInstanceMaintenanceOptionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ModifyInstanceMaintenanceOptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAutoRecovery()
Provides information on the current automatic recovery behavior of your instance.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceMaintenanceOptionsResult |
withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
ModifyInstanceMaintenanceOptionsResult |
withAutoRecovery(String autoRecovery)
Provides information on the current automatic recovery behavior of your instance.
|
ModifyInstanceMaintenanceOptionsResult |
withInstanceId(String instanceId)
The ID of the instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ModifyInstanceMaintenanceOptionsResult()
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.public String getInstanceId()
The ID of the instance.
public ModifyInstanceMaintenanceOptionsResult withInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the 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.InstanceAutoRecoveryStatepublic String getAutoRecovery()
Provides information on the current automatic recovery behavior of your instance.
InstanceAutoRecoveryStatepublic ModifyInstanceMaintenanceOptionsResult 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.InstanceAutoRecoveryStatepublic ModifyInstanceMaintenanceOptionsResult 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.InstanceAutoRecoveryStatepublic String toString()
toString in class ObjectObject.toString()public ModifyInstanceMaintenanceOptionsResult clone()