public class ApplyPendingMaintenanceActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ApplyPendingMaintenanceAction operation.
Applies a pending maintenance action to a resource.
NOOP| Constructor and Description |
|---|
ApplyPendingMaintenanceActionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ApplyPendingMaintenanceActionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApplyAction()
The pending maintenance action to apply to this resource.
|
String |
getOptInType()
Specify an opt-in request, or undo an opt-in request.
|
String |
getResourceIdentifier()
The ARN of the resource (for example, a DB Instance) that the pending
maintenance action applies to.
|
int |
hashCode() |
void |
setApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
|
void |
setOptInType(String optInType)
Specify an opt-in request, or undo an opt-in request.
|
void |
setResourceIdentifier(String resourceIdentifier)
The ARN of the resource (for example, a DB Instance) that the pending
maintenance action applies to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ApplyPendingMaintenanceActionRequest |
withApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
|
ApplyPendingMaintenanceActionRequest |
withOptInType(String optInType)
Specify an opt-in request, or undo an opt-in request.
|
ApplyPendingMaintenanceActionRequest |
withResourceIdentifier(String resourceIdentifier)
The ARN of the resource (for example, a DB Instance) that the pending
maintenance action applies to.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic ApplyPendingMaintenanceActionRequest()
public String getResourceIdentifier()
public void setResourceIdentifier(String resourceIdentifier)
resourceIdentifier - The ARN of the resource (for example, a DB Instance) that the pending
maintenance action applies to.public ApplyPendingMaintenanceActionRequest withResourceIdentifier(String resourceIdentifier)
Returns a reference to this object so that method calls can be chained together.
resourceIdentifier - The ARN of the resource (for example, a DB Instance) that the pending
maintenance action applies to.public String getApplyAction()
public void setApplyAction(String applyAction)
applyAction - The pending maintenance action to apply to this resource.public ApplyPendingMaintenanceActionRequest withApplyAction(String applyAction)
Returns a reference to this object so that method calls can be chained together.
applyAction - The pending maintenance action to apply to this resource.public String getOptInType()
immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.public void setOptInType(String optInType)
immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.optInType - Specify an opt-in request, or undo an opt-in request. An opt-in
request of type immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.public ApplyPendingMaintenanceActionRequest withOptInType(String optInType)
immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.Returns a reference to this object so that method calls can be chained together.
optInType - Specify an opt-in request, or undo an opt-in request. An opt-in
request of type immediate cannot be undone. Valid values:
immediate - Apply the maintenance action
immediately.next-maintenance - Apply the
maintenance action during the next maintenance window for the
resource.undo-opt-in - Cancel any existing
next-maintenance opt-in requests.public String toString()
toString in class ObjectObject.toString()public ApplyPendingMaintenanceActionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.