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 ApplyPendingMaintenanceActionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplyAction()The pending maintenance action to apply to this resource.StringgetOptInType()A value that specifies the type of opt-in request, or undoes an opt-in request.StringgetResourceIdentifier()The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.inthashCode()voidsetApplyAction(String applyAction)The pending maintenance action to apply to this resource.voidsetOptInType(String optInType)A value that specifies the type of opt-in request, or undoes an opt-in request.voidsetResourceIdentifier(String resourceIdentifier)The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.StringtoString()Returns a string representation of this object; useful for testing and debugging.ApplyPendingMaintenanceActionRequestwithApplyAction(String applyAction)The pending maintenance action to apply to this resource.ApplyPendingMaintenanceActionRequestwithOptInType(String optInType)A value that specifies the type of opt-in request, or undoes an opt-in request.ApplyPendingMaintenanceActionRequestwithResourceIdentifier(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
immediatecannot 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-maintenanceopt-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 typeimmediatecannot 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-maintenanceopt-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
immediatecannot 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-maintenanceopt-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
immediatecannot 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-maintenanceopt-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
immediatecannot 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-maintenanceopt-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 typeimmediatecannot 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-maintenanceopt-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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ApplyPendingMaintenanceActionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-