@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, withSdkRequestTimeout
public 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.InstanceAutoRecoveryState
public String getAutoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
InstanceAutoRecoveryState
public 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.InstanceAutoRecoveryState
public 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.InstanceAutoRecoveryState
public Request<ModifyInstanceMaintenanceOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyInstanceMaintenanceOptionsRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceMaintenanceOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()