Class PendingMaintenanceAction

    • Constructor Detail

      • PendingMaintenanceAction

        public PendingMaintenanceAction()
    • Method Detail

      • setAction

        public void setAction​(String action)

        The type of pending maintenance action that is available for the resource.

        Parameters:
        action - The type of pending maintenance action that is available for the resource.
      • getAction

        public String getAction()

        The type of pending maintenance action that is available for the resource.

        Returns:
        The type of pending maintenance action that is available for the resource.
      • withAction

        public PendingMaintenanceAction withAction​(String action)

        The type of pending maintenance action that is available for the resource.

        Parameters:
        action - The type of pending maintenance action that is available for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoAppliedAfterDate

        public void setAutoAppliedAfterDate​(Date autoAppliedAfterDate)

        The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

        Parameters:
        autoAppliedAfterDate - The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.
      • getAutoAppliedAfterDate

        public Date getAutoAppliedAfterDate()

        The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

        Returns:
        The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.
      • withAutoAppliedAfterDate

        public PendingMaintenanceAction withAutoAppliedAfterDate​(Date autoAppliedAfterDate)

        The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

        Parameters:
        autoAppliedAfterDate - The date of the maintenance window when the action will be applied. The maintenance action will be applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setForcedApplyDate

        public void setForcedApplyDate​(Date forcedApplyDate)

        The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

        Parameters:
        forcedApplyDate - The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.
      • getForcedApplyDate

        public Date getForcedApplyDate()

        The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

        Returns:
        The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.
      • withForcedApplyDate

        public PendingMaintenanceAction withForcedApplyDate​(Date forcedApplyDate)

        The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

        Parameters:
        forcedApplyDate - The date when the maintenance action will be automatically applied. The maintenance action will be applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOptInStatus

        public void setOptInStatus​(String optInStatus)

        Indicates the type of opt-in request that has been received for the resource.

        Parameters:
        optInStatus - Indicates the type of opt-in request that has been received for the resource.
      • getOptInStatus

        public String getOptInStatus()

        Indicates the type of opt-in request that has been received for the resource.

        Returns:
        Indicates the type of opt-in request that has been received for the resource.
      • withOptInStatus

        public PendingMaintenanceAction withOptInStatus​(String optInStatus)

        Indicates the type of opt-in request that has been received for the resource.

        Parameters:
        optInStatus - Indicates the type of opt-in request that has been received for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCurrentApplyDate

        public void setCurrentApplyDate​(Date currentApplyDate)

        The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

        Parameters:
        currentApplyDate - The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.
      • getCurrentApplyDate

        public Date getCurrentApplyDate()

        The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

        Returns:
        The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate .
      • withCurrentApplyDate

        public PendingMaintenanceAction withCurrentApplyDate​(Date currentApplyDate)

        The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

        Parameters:
        currentApplyDate - The effective date when the pending maintenance action will be applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A description providing more detail about the maintenance action.

        Parameters:
        description - A description providing more detail about the maintenance action.
      • getDescription

        public String getDescription()

        A description providing more detail about the maintenance action.

        Returns:
        A description providing more detail about the maintenance action.
      • withDescription

        public PendingMaintenanceAction withDescription​(String description)

        A description providing more detail about the maintenance action.

        Parameters:
        description - A description providing more detail about the maintenance action.
        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