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:
  • Constructor Details

    • ApplyPendingMaintenanceActionRequest

      public ApplyPendingMaintenanceActionRequest()
  • Method Details

    • 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 existing next-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 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.
    • 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 existing next-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 existing next-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 existing next-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 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.
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: