Struct aws_sdk_docdb::types::PendingMaintenanceAction
source · #[non_exhaustive]pub struct PendingMaintenanceAction {
pub action: Option<String>,
pub auto_applied_after_date: Option<DateTime>,
pub forced_apply_date: Option<DateTime>,
pub opt_in_status: Option<String>,
pub current_apply_date: Option<DateTime>,
pub description: Option<String>,
}Expand description
Provides information about a pending maintenance action for a resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: Option<String>The type of pending maintenance action that is available for the resource.
auto_applied_after_date: Option<DateTime>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. If this date is specified, any next-maintenance opt-in requests are ignored.
forced_apply_date: Option<DateTime>The date when the maintenance action is automatically applied. The maintenance action is 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.
opt_in_status: Option<String>Indicates the type of opt-in request that has been received for the resource.
current_apply_date: Option<DateTime>The effective date when the pending maintenance action is applied to the resource.
description: Option<String>A description providing more detail about the maintenance action.
Implementations§
source§impl PendingMaintenanceAction
impl PendingMaintenanceAction
sourcepub fn action(&self) -> Option<&str>
pub fn action(&self) -> Option<&str>
The type of pending maintenance action that is available for the resource.
sourcepub fn auto_applied_after_date(&self) -> Option<&DateTime>
pub fn auto_applied_after_date(&self) -> Option<&DateTime>
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. If this date is specified, any next-maintenance opt-in requests are ignored.
sourcepub fn forced_apply_date(&self) -> Option<&DateTime>
pub fn forced_apply_date(&self) -> Option<&DateTime>
The date when the maintenance action is automatically applied. The maintenance action is 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.
sourcepub fn opt_in_status(&self) -> Option<&str>
pub fn opt_in_status(&self) -> Option<&str>
Indicates the type of opt-in request that has been received for the resource.
sourcepub fn current_apply_date(&self) -> Option<&DateTime>
pub fn current_apply_date(&self) -> Option<&DateTime>
The effective date when the pending maintenance action is applied to the resource.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description providing more detail about the maintenance action.
source§impl PendingMaintenanceAction
impl PendingMaintenanceAction
sourcepub fn builder() -> PendingMaintenanceActionBuilder
pub fn builder() -> PendingMaintenanceActionBuilder
Creates a new builder-style object to manufacture PendingMaintenanceAction.
Trait Implementations§
source§impl Clone for PendingMaintenanceAction
impl Clone for PendingMaintenanceAction
source§fn clone(&self) -> PendingMaintenanceAction
fn clone(&self) -> PendingMaintenanceAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PendingMaintenanceAction
impl Debug for PendingMaintenanceAction
source§impl PartialEq for PendingMaintenanceAction
impl PartialEq for PendingMaintenanceAction
source§fn eq(&self, other: &PendingMaintenanceAction) -> bool
fn eq(&self, other: &PendingMaintenanceAction) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PendingMaintenanceAction
Auto Trait Implementations§
impl Freeze for PendingMaintenanceAction
impl RefUnwindSafe for PendingMaintenanceAction
impl Send for PendingMaintenanceAction
impl Sync for PendingMaintenanceAction
impl Unpin for PendingMaintenanceAction
impl UnwindSafe for PendingMaintenanceAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more