Class ApplyPendingMaintenanceActionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ApplyPendingMaintenanceActionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ApplyPendingMaintenanceActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ApplyPendingMaintenanceActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplyPendingMaintenanceActionRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplyAction()
The pending maintenance action to apply to this resource.String
getOptInType()
A value that specifies the type of opt-in request, or undoes an opt-in request.String
getResourceIdentifier()
The RDS Amazon Resource Name (ARN) of the resource 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)
A value that specifies the type of opt-in request, or undoes an opt-in request.void
setResourceIdentifier(String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource 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)
A value that specifies the type of opt-in request, or undoes an opt-in request.ApplyPendingMaintenanceActionRequest
withResourceIdentifier(String resourceIdentifier)
The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setResourceIdentifier
public void setResourceIdentifier(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).
- Parameters:
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).
-
getResourceIdentifier
public 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).
- Returns:
- 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).
-
withResourceIdentifier
public ApplyPendingMaintenanceActionRequest withResourceIdentifier(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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplyAction
public void setApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
Valid values:
system-update
,db-upgrade
- Parameters:
applyAction
- The pending maintenance action to apply to this resource.Valid values:
system-update
,db-upgrade
-
getApplyAction
public String getApplyAction()
The pending maintenance action to apply to this resource.
Valid values:
system-update
,db-upgrade
- Returns:
- The pending maintenance action to apply to this resource.
Valid values:
system-update
,db-upgrade
-
withApplyAction
public ApplyPendingMaintenanceActionRequest withApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
Valid values:
system-update
,db-upgrade
- Parameters:
applyAction
- The pending maintenance action to apply to this resource.Valid values:
system-update
,db-upgrade
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptInType
public void setOptInType(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 existingnext-maintenance
opt-in requests.
- Parameters:
optInType
- A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of typeimmediate
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 existingnext-maintenance
opt-in requests.
-
-
-
getOptInType
public 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 existingnext-maintenance
opt-in requests.
- Returns:
- 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 existingnext-maintenance
opt-in requests.
-
-
-
withOptInType
public ApplyPendingMaintenanceActionRequest withOptInType(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 existingnext-maintenance
opt-in requests.
- Parameters:
optInType
- A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of typeimmediate
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 existingnext-maintenance
opt-in requests.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ApplyPendingMaintenanceActionRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-