@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, setSdkResponseMetadata
public 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.InstanceAutoRecoveryState
public String getAutoRecovery()
Provides information on the current automatic recovery behavior of your instance.
InstanceAutoRecoveryState
public 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.InstanceAutoRecoveryState
public 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.InstanceAutoRecoveryState
public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceMaintenanceOptionsResult clone()