Class ApplyPendingMaintenanceActionRequest

    • Constructor Detail

      • ApplyPendingMaintenanceActionRequest

        public ApplyPendingMaintenanceActionRequest()
    • 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).
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object