public class ApplyPendingMaintenanceActionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applyAction
The pending maintenance action to apply to this resource.
|
private java.lang.String |
optInType
A value that specifies the type of opt-in request, or undoes an opt-in
request.
|
private java.lang.String |
resourceIdentifier
The RDS Amazon Resource Name (ARN) of the resource that the pending
maintenance action applies to.
|
NOOP
Constructor and Description |
---|
ApplyPendingMaintenanceActionRequest() |
Modifier and Type | Method and Description |
---|---|
ApplyPendingMaintenanceActionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplyAction()
The pending maintenance action to apply to this resource.
|
java.lang.String |
getOptInType()
A value that specifies the type of opt-in request, or undoes an opt-in
request.
|
java.lang.String |
getResourceIdentifier()
The RDS Amazon Resource Name (ARN) of the resource that the pending
maintenance action applies to.
|
int |
hashCode() |
void |
setApplyAction(java.lang.String applyAction)
The pending maintenance action to apply to this resource.
|
void |
setOptInType(java.lang.String optInType)
A value that specifies the type of opt-in request, or undoes an opt-in
request.
|
void |
setResourceIdentifier(java.lang.String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource that the pending
maintenance action applies to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ApplyPendingMaintenanceActionRequest |
withApplyAction(java.lang.String applyAction)
The pending maintenance action to apply to this resource.
|
ApplyPendingMaintenanceActionRequest |
withOptInType(java.lang.String optInType)
A value that specifies the type of opt-in request, or undoes an opt-in
request.
|
ApplyPendingMaintenanceActionRequest |
withResourceIdentifier(java.lang.String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource that the pending
maintenance action applies to.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String resourceIdentifier
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
private java.lang.String applyAction
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
private java.lang.String optInType
A value that specifies the type of opt-in request, or undoes 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()
public void setResourceIdentifier(java.lang.String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
resourceIdentifier
- The RDS Amazon Resource Name (ARN) of the resource that the
pending maintenance action applies to. For information about
creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).public java.lang.String getResourceIdentifier()
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
public ApplyPendingMaintenanceActionRequest withResourceIdentifier(java.lang.String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
resourceIdentifier
- The RDS Amazon Resource Name (ARN) of the resource that the
pending maintenance action applies to. For information about
creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).public void setApplyAction(java.lang.String applyAction)
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
applyAction
- The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
public java.lang.String getApplyAction()
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
Valid values: system-update
, db-upgrade
public ApplyPendingMaintenanceActionRequest withApplyAction(java.lang.String applyAction)
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
applyAction
- The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
public void setOptInType(java.lang.String optInType)
A value that specifies the type of opt-in request, or undoes 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.optInType
- A value that specifies the type of opt-in request, or undoes 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 java.lang.String getOptInType()
A value that specifies the type of opt-in request, or undoes 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.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(java.lang.String optInType)
A value that specifies the type of opt-in request, or undoes 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.optInType
- A value that specifies the type of opt-in request, or undoes 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ApplyPendingMaintenanceActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()