@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceMaintenanceOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyInstanceMaintenanceOptionsRequest>
NOOP| Constructor and Description |
|---|
ModifyInstanceMaintenanceOptionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyInstanceMaintenanceOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
|
Request<ModifyInstanceMaintenanceOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceMaintenanceOptionsRequest |
withAutoRecovery(InstanceAutoRecoveryState autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
|
ModifyInstanceMaintenanceOptionsRequest |
withAutoRecovery(String autoRecovery)
Disables the automatic recovery behavior of your instance or sets it to default.
|
ModifyInstanceMaintenanceOptionsRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ModifyInstanceMaintenanceOptionsRequest()
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 ModifyInstanceMaintenanceOptionsRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.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.InstanceAutoRecoveryStatepublic String getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
InstanceAutoRecoveryStatepublic ModifyInstanceMaintenanceOptionsRequest 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.InstanceAutoRecoveryStatepublic ModifyInstanceMaintenanceOptionsRequest withAutoRecovery(InstanceAutoRecoveryState 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.InstanceAutoRecoveryStatepublic Request<ModifyInstanceMaintenanceOptionsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyInstanceMaintenanceOptionsRequest>public String toString()
toString in class ObjectObject.toString()public ModifyInstanceMaintenanceOptionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()