Class PendingMaintenanceAction

    • Method Detail

      • action

        public final String action()

        The type of pending maintenance action that is available for the resource. Valid actions are system-update, db-upgrade, hardware-maintenance, and ca-certificate-rotation.

        Returns:
        The type of pending maintenance action that is available for the resource. Valid actions are system-update, db-upgrade, hardware-maintenance, and ca-certificate-rotation.
      • autoAppliedAfterDate

        public final Instant autoAppliedAfterDate()

        The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.

        Returns:
        The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date.
      • forcedApplyDate

        public final Instant forcedApplyDate()

        The date when the maintenance action is automatically applied.

        On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.

        Returns:
        The date when the maintenance action is automatically applied.

        On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.

      • optInStatus

        public final String optInStatus()

        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.
      • currentApplyDate

        public final Instant currentApplyDate()

        The effective date when the pending maintenance action is 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 is 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.
      • description

        public final String description()

        A description providing more detail about the maintenance action.

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)