Struct aws_sdk_ec2::types::builders::MaintenanceDetailsBuilder
source · #[non_exhaustive]pub struct MaintenanceDetailsBuilder { /* private fields */ }
Expand description
A builder for MaintenanceDetails
.
Implementations§
source§impl MaintenanceDetailsBuilder
impl MaintenanceDetailsBuilder
sourcepub fn pending_maintenance(self, input: impl Into<String>) -> Self
pub fn pending_maintenance(self, input: impl Into<String>) -> Self
Verify existence of a pending maintenance.
sourcepub fn set_pending_maintenance(self, input: Option<String>) -> Self
pub fn set_pending_maintenance(self, input: Option<String>) -> Self
Verify existence of a pending maintenance.
sourcepub fn get_pending_maintenance(&self) -> &Option<String>
pub fn get_pending_maintenance(&self) -> &Option<String>
Verify existence of a pending maintenance.
sourcepub fn maintenance_auto_applied_after(self, input: DateTime) -> Self
pub fn maintenance_auto_applied_after(self, input: DateTime) -> Self
The timestamp after which Amazon Web Services will automatically apply maintenance.
sourcepub fn set_maintenance_auto_applied_after(self, input: Option<DateTime>) -> Self
pub fn set_maintenance_auto_applied_after(self, input: Option<DateTime>) -> Self
The timestamp after which Amazon Web Services will automatically apply maintenance.
sourcepub fn get_maintenance_auto_applied_after(&self) -> &Option<DateTime>
pub fn get_maintenance_auto_applied_after(&self) -> &Option<DateTime>
The timestamp after which Amazon Web Services will automatically apply maintenance.
sourcepub fn last_maintenance_applied(self, input: DateTime) -> Self
pub fn last_maintenance_applied(self, input: DateTime) -> Self
Timestamp of last applied maintenance.
sourcepub fn set_last_maintenance_applied(self, input: Option<DateTime>) -> Self
pub fn set_last_maintenance_applied(self, input: Option<DateTime>) -> Self
Timestamp of last applied maintenance.
sourcepub fn get_last_maintenance_applied(&self) -> &Option<DateTime>
pub fn get_last_maintenance_applied(&self) -> &Option<DateTime>
Timestamp of last applied maintenance.
sourcepub fn build(self) -> MaintenanceDetails
pub fn build(self) -> MaintenanceDetails
Consumes the builder and constructs a MaintenanceDetails
.
Trait Implementations§
source§impl Clone for MaintenanceDetailsBuilder
impl Clone for MaintenanceDetailsBuilder
source§fn clone(&self) -> MaintenanceDetailsBuilder
fn clone(&self) -> MaintenanceDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaintenanceDetailsBuilder
impl Debug for MaintenanceDetailsBuilder
source§impl Default for MaintenanceDetailsBuilder
impl Default for MaintenanceDetailsBuilder
source§fn default() -> MaintenanceDetailsBuilder
fn default() -> MaintenanceDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MaintenanceDetailsBuilder
impl PartialEq for MaintenanceDetailsBuilder
source§fn eq(&self, other: &MaintenanceDetailsBuilder) -> bool
fn eq(&self, other: &MaintenanceDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceDetailsBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceDetailsBuilder
impl RefUnwindSafe for MaintenanceDetailsBuilder
impl Send for MaintenanceDetailsBuilder
impl Sync for MaintenanceDetailsBuilder
impl Unpin for MaintenanceDetailsBuilder
impl UnwindSafe for MaintenanceDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.